#9D6FF2#9D6FF2

#9D6FF2 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.190 H 297.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9D6FF2
RGBrgb(157, 111, 242)
HSLhsl(261, 83%, 69%)
HSVhsv(261, 54%, 95%)
CMYKcmyk(35.1%, 54.1%, 0%, 5.1%)
CIE-LABlab(57.02, 45.70, -59.63)
CIE-LCHlch(57.02, 75.13, 307.47°)
OKLaboklab(64.86% 0.0861 -0.1689)
OKLCHoklch(64.86% 0.19 297)
XYZxyz(35.6121, 24.9473, 86.9263)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6FF2 #C4F26F
analogous
#6F83F2 #9D6FF2 #DF6FF2
triadic
#9D6FF2 #F29D6F #6FF29D
tetradic
#9D6FF2 #F26F83 #C4F26F #6FF2DF
square
#9D6FF2 #F26F83 #C4F26F #6FF2DF
split-complementary
#9D6FF2 #F2DF6F #83F26F
monochromatic
#5713D4 #7737ED #9D6FF2 #C3A7F7 #E9DFFC

Accessibility & contrast

On white

3.51
#9D6FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9D6FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6FF2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6FF2#FFFFFF#000000##000000
##9D6FF21.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#8A8AA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d6ff2;
/* rgb */ color: rgb(157, 111, 242);
/* oklch */ color: oklch(64.9% 0.190 297.0);
Tailwind
colors: {
  custom: {
    50: '#be9af7',
    500: '#9d6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ff2;
$custom-light: #be9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ff2",
  "rgb": {
    "r": 157,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 261.069,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6486,
    "c": 0.18957,
    "h": 297
  },
  "luminance": 0.24948
}

Semantic roles & 50–950 ramp

primary
#9D6FF2
secondary
#E4F1CB
accent
#E00693
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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