#9F6DF5#9F6DF5

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

Color values

HEX#9F6DF5
RGBrgb(159, 109, 245)
HSLhsl(262, 87%, 69%)
HSVhsv(262, 56%, 96%)
CMYKcmyk(35.1%, 55.5%, 0%, 3.9%)
CIE-LABlab(56.98, 48.02, -61.36)
CIE-LCHlch(56.98, 77.92, 308.05°)
OKLaboklab(64.93% 0.0911 -0.1739)
OKLCHoklch(64.93% 0.196 297.6)
XYZxyz(36.2440, 24.9003, 89.2652)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6DF5 #C3F56D
analogous
#6D7FF5 #9F6DF5 #E36DF5
triadic
#9F6DF5 #F59F6D #6DF59F
tetradic
#9F6DF5 #F56D7F #C3F56D #6DF5E3
square
#9F6DF5 #F56D7F #C3F56D #6DF5E3
split-complementary
#9F6DF5 #F5E36D #7FF56D
monochromatic
#590FD9 #7934F1 #9F6DF5 #C5A6F9 #EAE0FD

Accessibility & contrast

On white

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

On black

5.98
#9F6DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6DF5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6DF5#FFFFFF#000000##000000
##9F6DF51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89FA
Deuteranopia (green-blind)
#4087F2
Tritanopia (blue-blind)
#8C89A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f6df5;
/* rgb */ color: rgb(159, 109, 245);
/* oklch */ color: oklch(64.9% 0.196 297.6);
Tailwind
colors: {
  custom: {
    50: '#c098f9',
    500: '#9f6df5',
    950: '#000000',
  },
}
SCSS
$custom: #9f6df5;
$custom-light: #c098f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6df5",
  "rgb": {
    "r": 159,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 262.059,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6493,
    "c": 0.19632,
    "h": 297.6
  },
  "luminance": 0.24901
}

Semantic roles & 50–950 ramp

primary
#9F6DF5
secondary
#E4F2CB
accent
#E40291
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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