#B16EFA Medium Slate Blue

rgb(177, 110, 250)

Color conversions

HEX
#B16EFA
RGB
rgb(177, 110, 250)
RGBA
rgba(177, 110, 250, 1)
HSL
hsl(269, 93%, 71%)
HSV / HSB
hsv(269, 56%, 98%)
CMYK
cmyk(29%, 56%, 0%, 2%)

Wide-gamut spaces

XYZ
xyz(40.959, 27.401, 93.555)
LAB
lab(59.34 52.91 -60.23)
LCH
lch(59.34 80.17 311.29)
OKLAB
oklab(67.19% 0.1124 -0.1701)
OKLCH
oklch(67.19% 0.2039 303.45)
Nearest name
Medium Slate Blue

Shades, tints and tones

Shades

Tints

Tones

Color harmonies

Complementary

The hue directly opposite on the color wheel. Maximum contrast, ideal for a single accent against a dominant brand color.

Analogous

Neighbouring hues that share a temperature. The safest harmony for calm, cohesive interfaces.

Triadic

Three hues evenly spaced 120 degrees apart. Vibrant and balanced — use one as dominant and the other two sparingly.

Split Complementary

The complement split into two adjacent hues. Nearly the contrast of complementary with noticeably less tension.

Square (Tetradic)

Four hues at 90-degree intervals. A rich set for illustration, data visualisation, and category coding.

Rectangle (Tetradic)

Two complementary pairs offset by 60 degrees. Gives two warm and two cool options in one system.

Monochromatic

A single hue across five lightness levels. The foundation of most UI scales and the most accessible starting point.

Similar colors

Closest matches

Opacity variations

#b16efa1a

#b16efa33

#b16efa4d

#b16efa66

#b16efa80

#b16efa99

#b16efab3

#b16efacc

#b16efae6

#b16efaff

Accessibility and contrast

On white

3.24:1

Body text AA Large · Large text AA

On black

6.48:1

Body text AA · Large text AA

White-on-color contrast is 3.24:1.

Color blindness preview

Protanopia

No red cones — ~1% of men

Protanomaly

Reduced red sensitivity — ~1% of men

Deuteranopia

No green cones — ~1% of men

Deuteranomaly

Reduced green sensitivity — ~5% of men

Tritanopia

No blue cones — very rare

Tritanomaly

Reduced blue sensitivity — very rare

Achromatopsia

No color perception — ~1 in 30,000

Achromatomaly

Partial color perception — rare

Meaning, psychology and brand usage

Craft, imagination, and modern premium

Violet reads as creative and considered. Because it is rare in nature it feels designed rather than found, which is why it has become the signature of developer tooling and creative software over the last decade.

Royalty and luxury in Western markets, mourning in Catholic tradition and parts of Latin America, and spirituality across several Eastern traditions.

Tyrian purple was extracted from murex sea snails at roughly 250,000 shells per gram, restricting it to emperors by law. Perkin's accidental synthesis of mauveine in 1856 launched the entire synthetic dye industry.

Strong for creative tools, beauty, and premium subscriptions. Keep the surrounding neutrals genuinely neutral — violet plus warm gray quickly reads dated.

Common industries: Creative software, Beauty, Education, Streaming, Web3. Pairs well with lime for a sharp accent, warm white for softness, near-black for luxury.

Code exports

CSS

:root {
  --color-medium-slate-blue: #b16efa;
  --color-medium-slate-blue-rgb: 177 110 250;
  --color-medium-slate-blue-hsl: 269 93% 71%;
  --color-medium-slate-blue-oklch: 67.19% 0.2039 303.45;
}

.element {
  color: #b16efa;
  background-color: hsl(269, 93%, 71%);
  border: 1px solid rgb(177 110 250 / 40%);
}

SCSS

$medium-slate-blue: #b16efa;
$medium-slate-blue-light: #d8b7fd;
$medium-slate-blue-dark: #59377d;

.element {
  color: $medium-slate-blue;
  background: rgba($medium-slate-blue, 0.12);

  &:hover {
    color: darken($medium-slate-blue, 8%);
  }
}

LESS

@medium-slate-blue: #b16efa;
@medium-slate-blue-light: lighten(@medium-slate-blue, 12%);
@medium-slate-blue-dark: darken(@medium-slate-blue, 12%);

.element {
  color: @medium-slate-blue;
  background: fade(@medium-slate-blue, 12%);
}

Tailwind CSS

/* Tailwind v4 — src/styles.css */
@theme {
  --color-medium-slate-blue-50: #efe2fe;
  --color-medium-slate-blue-100: #e8d4fe;
  --color-medium-slate-blue-200: #e0c5fd;
  --color-medium-slate-blue-300: #d0a8fc;
  --color-medium-slate-blue-400: #c18bfb;
  --color-medium-slate-blue-500: #b16efa;
  --color-medium-slate-blue-600: #9f63e1;
  --color-medium-slate-blue-700: #7c4daf;
  --color-medium-slate-blue-800: #59377d;
  --color-medium-slate-blue-900: #35214b;
}

/* Usage */
<div class="bg-medium-slate-blue-500 text-medium-slate-blue-50 ring-medium-slate-blue-600" />

/* Arbitrary value, no config needed */
<div class="bg-[#b16efa]" />

Bootstrap

// Bootstrap 5 — _variables.scss (before importing bootstrap)
$medium-slate-blue: #b16efa;
$primary: $medium-slate-blue;

$theme-colors: map-merge($theme-colors, (
  "medium-slate-blue": $medium-slate-blue
));

// Generates .text-medium-slate-blue, .bg-medium-slate-blue, .btn-medium-slate-blue
@import "bootstrap/scss/bootstrap";

Flutter

import 'package:flutter/material.dart';

const Color mediumSlateBlue = Color(0xFFB16EFA);

// As a MaterialColor swatch
const MaterialColor mediumSlateBlueSwatch = MaterialColor(0xFFB16EFA, <int, Color>{
  50: Color(0xFFEFE2FE),
  100: Color(0xFFE8D4FE),
  200: Color(0xFFE0C5FD),
  300: Color(0xFFD0A8FC),
  400: Color(0xFFC18BFB),
  500: Color(0xFFB16EFA),
  600: Color(0xFF9F63E1),
  700: Color(0xFF7C4DAF),
  800: Color(0xFF59377D),
  900: Color(0xFF35214B),
});

Swift / SwiftUI

import SwiftUI

extension Color {
    /// #b16efa — Medium Slate Blue
    static let mediumSlateBlue = Color(
        red: 0.6941,
        green: 0.4314,
        blue: 0.9804
    )
}

// UIKit
extension UIColor {
    static let mediumSlateBlue = UIColor(
        red: 0.6941,
        green: 0.4314,
        blue: 0.9804,
        alpha: 1.0
    )
}

Android

<!-- res/values/colors.xml -->
<resources>
    <color name="medium_slate_blue">#B16EFA</color>
    <color name="medium_slate_blue_translucent">#80B16EFA</color>
</resources>

<!-- Jetpack Compose -->
val MediumSlateBlue = Color(0xFFB16EFA)

JavaScript

export const MEDIUM_SLATE_BLUE = {
  hex: "#b16efa",
  rgb: [177, 110, 250],
  hsl: [269, 93, 71],
  oklch: "oklch(67.19% 0.2039 303.45)",
};

JSON tokens

{
  "$schema": "https://design-tokens.org/schema.json",
  "medium-slate-blue": {
    "$type": "color",
    "$value": "#b16efa",
    "$description": "Medium Slate Blue — generated by ColorVerse AI"
  }
}