#9E6BD2#9E6BD2

#9E6BD2 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.4% C 0.157 H 305.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9E6BD2
RGBrgb(158, 107, 210)
HSLhsl(270, 53%, 62%)
HSVhsv(270, 49%, 82%)
CMYKcmyk(24.8%, 49%, 0%, 17.6%)
CIE-LABlab(54.49, 40.30, -45.70)
CIE-LCHlch(54.49, 60.94, 311.41°)
OKLaboklab(62.43% 0.0903 -0.1281)
OKLCHoklch(62.43% 0.157 305.2)
XYZxyz(30.9887, 22.4378, 63.6587)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6BD2 #9FD26B
analogous
#6B6BD2 #9E6BD2 #D26BD2
triadic
#9E6BD2 #D29E6B #6BD29E
tetradic
#9E6BD2 #D26B6B #9FD26B #6BD2D2
square
#9E6BD2 #D26B6B #9FD26B #6BD2D2
split-complementary
#9E6BD2 #D2D26B #6BD26B
monochromatic
#612D95 #7F3CC4 #9E6BD2 #BD9AE0 #DCC9EF

Accessibility & contrast

On white

3.83
#9E6BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#9E6BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6BD2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6BD2#FFFFFF#000000##000000
##9E6BD21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D6
Deuteranopia (green-blind)
#5B83CF
Tritanopia (blue-blind)
#967D95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e6bd2;
/* rgb */ color: rgb(158, 107, 210);
/* oklch */ color: oklch(62.4% 0.157 305.2);
Tailwind
colors: {
  custom: {
    50: '#bd96e0',
    500: '#9e6bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9e6bd2;
$custom-light: #bd96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6bd2",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 269.709,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6243,
    "c": 0.15672,
    "h": 305.2
  },
  "luminance": 0.22438
}

Semantic roles & 50–950 ramp

primary
#9E6BD2
secondary
#CDDFB9
accent
#C12574
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E6BD2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E6BD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva