#9F66EA#9F66EA

#9F66EA is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.2% C 0.193 H 300.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9F66EA
RGBrgb(159, 102, 234)
HSLhsl(266, 76%, 66%)
HSVhsv(266, 56%, 92%)
CMYKcmyk(32.1%, 56.4%, 0%, 8.2%)
CIE-LABlab(54.88, 49.06, -58.60)
CIE-LCHlch(54.88, 76.42, 309.94°)
OKLaboklab(63.18% 0.0994 -0.1658)
OKLCHoklch(63.18% 0.193 300.9)
XYZxyz(33.8972, 22.8140, 80.4437)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F66EA #B1EA66
analogous
#666FEA #9F66EA #E166EA
triadic
#9F66EA #EA9F66 #66EA9F
tetradic
#9F66EA #EA666F #B1EA66 #66EAE1
square
#9F66EA #EA666F #B1EA66 #66EAE1
split-complementary
#9F66EA #EAE166 #6FEA66
monochromatic
#601ABC #7D30E3 #9F66EA #C19CF1 #E3D2F9

Accessibility & contrast

On white

3.78
#9F66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9F66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F66EA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F66EA#FFFFFF#000000##000000
##9F66EA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EE
Deuteranopia (green-blind)
#4283E7
Tritanopia (blue-blind)
#90819E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9f66ea;
/* rgb */ color: rgb(159, 102, 234);
/* oklch */ color: oklch(63.2% 0.193 300.9);
Tailwind
colors: {
  custom: {
    50: '#bf94f1',
    500: '#9f66ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f66ea;
$custom-light: #bf94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f66ea",
  "rgb": {
    "r": 159,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 265.909,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63177,
    "c": 0.19331,
    "h": 300.9
  },
  "luminance": 0.22814
}

Semantic roles & 50–950 ramp

primary
#9F66EA
secondary
#D9ECC0
accent
#D80D81
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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