#9F6CFC#9F6CFC

#9F6CFC is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.2% C 0.206 H 296.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9F6CFC
RGBrgb(159, 108, 252)
HSLhsl(261, 96%, 71%)
HSVhsv(261, 57%, 99%)
CMYKcmyk(36.9%, 57.1%, 0%, 1.2%)
CIE-LABlab(57.20, 50.33, -64.89)
CIE-LCHlch(57.20, 82.12, 307.80°)
OKLaboklab(65.23% 0.0923 -0.1843)
OKLCHoklch(65.23% 0.206 296.6)
XYZxyz(37.2268, 25.1237, 94.9646)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6CFC #C9FC6C
analogous
#6C81FC #9F6CFC #E76CFC
triadic
#9F6CFC #FC9F6C #6CFC9F
tetradic
#9F6CFC #FC6C81 #C9FC6C #6CFCE7
square
#9F6CFC #FC6C81 #C9FC6C #6CFCE7
split-complementary
#9F6CFC #FCE76C #81FC6C
monochromatic
#5605E9 #7830FB #9F6CFC #C6A8FD #EBE1FE

Accessibility & contrast

On white

3.49
#9F6CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#9F6CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6CFC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6CFC#FFFFFF#000000##000000
##9F6CFC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B8AFF
Deuteranopia (green-blind)
#3487F9
Tritanopia (blue-blind)
#898AAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f6cfc;
/* rgb */ color: rgb(159, 108, 252);
/* oklch */ color: oklch(65.2% 0.206 296.6);
Tailwind
colors: {
  custom: {
    50: '#c098fe',
    500: '#9f6cfc',
    950: '#000000',
  },
}
SCSS
$custom: #9f6cfc;
$custom-light: #c098fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6cfc",
  "rgb": {
    "r": 159,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 261.25,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65226,
    "c": 0.20608,
    "h": 296.6
  },
  "luminance": 0.25124
}

Semantic roles & 50–950 ramp

primary
#9F6CFC
secondary
#E8F5CE
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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