#9F6DFC#9F6DFC

#9F6DFC is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.4% C 0.205 H 296.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9F6DFC
RGBrgb(159, 109, 252)
HSLhsl(261, 96%, 71%)
HSVhsv(261, 57%, 99%)
CMYKcmyk(36.9%, 56.7%, 0%, 1.2%)
CIE-LABlab(57.40, 49.79, -64.56)
CIE-LCHlch(57.40, 81.53, 307.64°)
OKLaboklab(65.38% 0.0911 -0.1833)
OKLCHoklch(65.38% 0.205 296.4)
XYZxyz(37.3329, 25.3358, 95.0000)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6DFC #CAFC6D
analogous
#6D82FC #9F6DFC #E66DFC
triadic
#9F6DFC #FC9F6D #6DFC9F
tetradic
#9F6DFC #FC6D82 #CAFC6D #6DFCE6
square
#9F6DFC #FC6D82 #CAFC6D #6DFCE6
split-complementary
#9F6DFC #FCE66D #82FC6D
monochromatic
#5505EA #7831FB #9F6DFC #C6A9FD #EBE1FE

Accessibility & contrast

On white

3.46
#9F6DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9F6DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6DFC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6DFC#FFFFFF#000000##000000
##9F6DFC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#208BFF
Deuteranopia (green-blind)
#3688F9
Tritanopia (blue-blind)
#898BAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f6dfc;
/* rgb */ color: rgb(159, 109, 252);
/* oklch */ color: oklch(65.4% 0.205 296.4);
Tailwind
colors: {
  custom: {
    50: '#c098fe',
    500: '#9f6dfc',
    950: '#000000',
  },
}
SCSS
$custom: #9f6dfc;
$custom-light: #c098fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6dfc",
  "rgb": {
    "r": 159,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 260.979,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65376,
    "c": 0.2047,
    "h": 296.4
  },
  "luminance": 0.25336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F6DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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