#9F6DFD#9F6DFD

#9F6DFD is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.4% C 0.206 H 296.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9F6DFD
RGBrgb(159, 109, 253)
HSLhsl(261, 97%, 71%)
HSVhsv(261, 57%, 99%)
CMYKcmyk(37.2%, 56.9%, 0%, 0.8%)
CIE-LABlab(57.46, 50.04, -65.01)
CIE-LCHlch(57.46, 82.04, 307.59°)
OKLaboklab(65.44% 0.0911 -0.1846)
OKLCHoklch(65.44% 0.206 296.3)
XYZxyz(37.4918, 25.3994, 95.8367)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6DFD #CBFD6D
analogous
#6D83FD #9F6DFD #E76DFD
triadic
#9F6DFD #FD9F6D #6DFD9F
tetradic
#9F6DFD #FD6D83 #CBFD6D #6DFDE7
square
#9F6DFD #FD6D83 #CBFD6D #6DFDE7
split-complementary
#9F6DFD #FDE76D #83FD6D
monochromatic
#5403EC #7731FC #9F6DFD #C7A9FE #EBE1FF

Accessibility & contrast

On white

3.45
#9F6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9F6DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6DFD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6DFD#FFFFFF#000000##000000
##9F6DFD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8BFF
Deuteranopia (green-blind)
#3588FA
Tritanopia (blue-blind)
#888BAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f6dfd;
/* rgb */ color: rgb(159, 109, 253);
/* oklch */ color: oklch(65.4% 0.206 296.3);
Tailwind
colors: {
  custom: {
    50: '#c098ff',
    500: '#9f6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9f6dfd;
$custom-light: #c098ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6dfd",
  "rgb": {
    "r": 159,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 260.833,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65441,
    "c": 0.20589,
    "h": 296.3
  },
  "luminance": 0.254
}

Semantic roles & 50–950 ramp

primary
#9F6DFD
secondary
#E9F6D0
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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