#9F66EF#9F66EF

#9F66EF is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.5% C 0.199 H 299.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9F66EF
RGBrgb(159, 102, 239)
HSLhsl(265, 81%, 67%)
HSVhsv(265, 57%, 94%)
CMYKcmyk(33.5%, 57.3%, 0%, 6.3%)
CIE-LABlab(55.18, 50.29, -60.91)
CIE-LCHlch(55.18, 78.98, 309.54°)
OKLaboklab(63.49% 0.0994 -0.1726)
OKLCHoklch(63.49% 0.199 299.9)
XYZxyz(34.6257, 23.1054, 84.2802)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F66EF #B6EF66
analogous
#6672EF #9F66EF #E466EF
triadic
#9F66EF #EF9F66 #66EF9F
tetradic
#9F66EF #EF6672 #B6EF66 #66EFE4
square
#9F66EF #EF6672 #B6EF66 #66EFE4
split-complementary
#9F66EF #EFE466 #72EF66
monochromatic
#5E15C6 #7C2FE9 #9F66EF #C29DF5 #E5D5FB

Accessibility & contrast

On white

3.74
#9F66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9F66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F66EF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F66EF#FFFFFF#000000##000000
##9F66EF1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2284F3
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#8E82A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9f66ef;
/* rgb */ color: rgb(159, 102, 239);
/* oklch */ color: oklch(63.5% 0.199 299.9);
Tailwind
colors: {
  custom: {
    50: '#c094f5',
    500: '#9f66ef',
    950: '#000000',
  },
}
SCSS
$custom: #9f66ef;
$custom-light: #c094f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f66ef",
  "rgb": {
    "r": 159,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 264.964,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.19916,
    "h": 299.9
  },
  "luminance": 0.23106
}

Semantic roles & 50–950 ramp

primary
#9F66EF
secondary
#DCEEC2
accent
#DD0885
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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