#9F6DFB#9F6DFB

#9F6DFB is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.3% C 0.203 H 296.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9F6DFB
RGBrgb(159, 109, 251)
HSLhsl(261, 95%, 71%)
HSVhsv(261, 57%, 98%)
CMYKcmyk(36.7%, 56.6%, 0%, 1.6%)
CIE-LABlab(57.34, 49.54, -64.10)
CIE-LCHlch(57.34, 81.01, 307.70°)
OKLaboklab(65.31% 0.0911 -0.182)
OKLCHoklch(65.31% 0.204 296.6)
XYZxyz(37.1749, 25.2726, 94.1676)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6DFB #C9FB6D
analogous
#6D82FB #9F6DFB #E66DFB
triadic
#9F6DFB #FB9F6D #6DFB9F
tetradic
#9F6DFB #FB6D82 #C9FB6D #6DFBE6
square
#9F6DFB #FB6D82 #C9FB6D #6DFBE6
split-complementary
#9F6DFB #FBE66D #82FB6D
monochromatic
#5606E7 #7831F9 #9F6DFB #C6A9FD #EBE1FE

Accessibility & contrast

On white

3.47
#9F6DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9F6DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6DFB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6DFB#FFFFFF#000000##000000
##9F6DFB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#228AFF
Deuteranopia (green-blind)
#3888F8
Tritanopia (blue-blind)
#898BAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f6dfb;
/* rgb */ color: rgb(159, 109, 251);
/* oklch */ color: oklch(65.3% 0.203 296.6);
Tailwind
colors: {
  custom: {
    50: '#c098fd',
    500: '#9f6dfb',
    950: '#000000',
  },
}
SCSS
$custom: #9f6dfb;
$custom-light: #c098fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6dfb",
  "rgb": {
    "r": 159,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 261.127,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.2035,
    "h": 296.6
  },
  "luminance": 0.25273
}

Semantic roles & 50–950 ramp

primary
#9F6DFB
secondary
#E8F5CF
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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