#9D6EEF#9D6EEF

#9D6EEF is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.5% C 0.187 H 297.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9D6EEF
RGBrgb(157, 110, 239)
HSLhsl(262, 80%, 68%)
HSVhsv(262, 54%, 94%)
CMYKcmyk(34.3%, 54%, 0%, 6.3%)
CIE-LABlab(56.64, 45.49, -58.59)
CIE-LCHlch(56.64, 74.17, 307.83°)
OKLaboklab(64.52% 0.0872 -0.1658)
OKLCHoklch(64.52% 0.187 297.7)
XYZxyz(35.0567, 24.5515, 84.5366)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6EEF #C0EF6E
analogous
#6E7FEF #9D6EEF #DD6EEF
triadic
#9D6EEF #EF9D6E #6EEF9D
tetradic
#9D6EEF #EF6E7F #C0EF6E #6EEFDD
square
#9D6EEF #EF6E7F #C0EF6E #6EEFDD
split-complementary
#9D6EEF #EFDD6E #7FEF6E
monochromatic
#5917CC #7837E9 #9D6EEF #C2A5F5 #E8DCFB

Accessibility & contrast

On white

3.55
#9D6EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#9D6EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6EEF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6EEF#FFFFFF#000000##000000
##9D6EEF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#4686EC
Tritanopia (blue-blind)
#8B88A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d6eef;
/* rgb */ color: rgb(157, 110, 239);
/* oklch */ color: oklch(64.5% 0.187 297.7);
Tailwind
colors: {
  custom: {
    50: '#be99f5',
    500: '#9d6eef',
    950: '#000000',
  },
}
SCSS
$custom: #9d6eef;
$custom-light: #be99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6eef",
  "rgb": {
    "r": 157,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 261.86,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64517,
    "c": 0.18735,
    "h": 297.7
  },
  "luminance": 0.24552
}

Semantic roles & 50–950 ramp

primary
#9D6EEF
secondary
#E2F0C9
accent
#DC098F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D6EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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