#9F66EC#9F66EC

#9F66EC is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.3% C 0.196 H 300.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9F66EC
RGBrgb(159, 102, 236)
HSLhsl(266, 78%, 66%)
HSVhsv(266, 57%, 93%)
CMYKcmyk(32.6%, 56.8%, 0%, 7.5%)
CIE-LABlab(55.00, 49.55, -59.52)
CIE-LCHlch(55.00, 77.45, 309.78°)
OKLaboklab(63.3% 0.0994 -0.1685)
OKLCHoklch(63.3% 0.196 300.5)
XYZxyz(34.1862, 22.9296, 81.9654)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F66EC #B3EC66
analogous
#6670EC #9F66EC #E266EC
triadic
#9F66EC #EC9F66 #66EC9F
tetradic
#9F66EC #EC6670 #B3EC66 #66ECE2
square
#9F66EC #EC6670 #B3EC66 #66ECE2
split-complementary
#9F66EC #ECE266 #70EC66
monochromatic
#5F18C0 #7D30E5 #9F66EC #C19CF3 #E3D3FA

Accessibility & contrast

On white

3.76
#9F66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9F66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F66EC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F66EC#FFFFFF#000000##000000
##9F66EC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#8F819F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9f66ec;
/* rgb */ color: rgb(159, 102, 236);
/* oklch */ color: oklch(63.3% 0.196 300.5);
Tailwind
colors: {
  custom: {
    50: '#bf94f3',
    500: '#9f66ec',
    950: '#000000',
  },
}
SCSS
$custom: #9f66ec;
$custom-light: #bf94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f66ec",
  "rgb": {
    "r": 159,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 265.522,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63303,
    "c": 0.19565,
    "h": 300.5
  },
  "luminance": 0.2293
}

Semantic roles & 50–950 ramp

primary
#9F66EC
secondary
#DAEDC1
accent
#DA0B82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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