#9F6CEE#9F6CEE

#9F6CEE is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.3% C 0.189 H 299.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9F6CEE
RGBrgb(159, 108, 238)
HSLhsl(264, 79%, 68%)
HSVhsv(264, 55%, 93%)
CMYKcmyk(33.2%, 54.6%, 0%, 6.7%)
CIE-LABlab(56.36, 46.81, -58.47)
CIE-LCHlch(56.36, 74.89, 308.68°)
OKLaboklab(64.34% 0.0921 -0.1654)
OKLCHoklch(64.34% 0.189 299.1)
XYZxyz(35.0895, 24.2688, 83.7080)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6CEE #BBEE6C
analogous
#6C7AEE #9F6CEE #E06CEE
triadic
#9F6CEE #EE9F6C #6CEE9F
tetradic
#9F6CEE #EE6C7A #BBEE6C #6CEEE0
square
#9F6CEE #EE6C7A #BBEE6C #6CEEE0
split-complementary
#9F6CEE #EEE06C #7AEE6C
monochromatic
#5D17C8 #7B35E8 #9F6CEE #C3A3F4 #E7DAFB

Accessibility & contrast

On white

3.59
#9F6CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9F6CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6CEE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6CEE#FFFFFF#000000##000000
##9F6CEE1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F2
Deuteranopia (green-blind)
#4686EB
Tritanopia (blue-blind)
#8E86A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f6cee;
/* rgb */ color: rgb(159, 108, 238);
/* oklch */ color: oklch(64.3% 0.189 299.1);
Tailwind
colors: {
  custom: {
    50: '#bf98f4',
    500: '#9f6cee',
    950: '#000000',
  },
}
SCSS
$custom: #9f6cee;
$custom-light: #bf98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6cee",
  "rgb": {
    "r": 159,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 263.538,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64339,
    "c": 0.18934,
    "h": 299.1
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

primary
#9F6CEE
secondary
#DFEFC7
accent
#DC0A89
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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