#9E66CA#9E66CA

#9E66CA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.2% C 0.155 H 308.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9E66CA
RGBrgb(158, 102, 202)
HSLhsl(274, 49%, 60%)
HSVhsv(274, 50%, 79%)
CMYKcmyk(21.8%, 49.5%, 0%, 20.8%)
CIE-LABlab(52.99, 41.20, -43.52)
CIE-LCHlch(52.99, 59.93, 313.43°)
OKLaboklab(61.18% 0.0963 -0.1217)
OKLCHoklch(61.18% 0.155 308.3)
XYZxyz(29.5105, 21.0365, 58.3715)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E66CA #92CA66
analogous
#6C66CA #9E66CA #CA66C4
triadic
#9E66CA #CA9E66 #66CA9E
tetradic
#9E66CA #CA6C66 #92CA66 #66C4CA
square
#9E66CA #CA6C66 #92CA66 #66C4CA
split-complementary
#9E66CA #C4CA66 #66CA6C
monochromatic
#602F87 #803EB4 #9E66CA #BB93DA #D8C1E9

Accessibility & contrast

On white

4.03
#9E66CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9E66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E66CA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E66CA#FFFFFF#000000##000000
##9E66CA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#98778F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e66ca;
/* rgb */ color: rgb(158, 102, 202);
/* oklch */ color: oklch(61.2% 0.155 308.3);
Tailwind
colors: {
  custom: {
    50: '#bd93da',
    500: '#9e66ca',
    950: '#000000',
  },
}
SCSS
$custom: #9e66ca;
$custom-light: #bd93da;
$custom-dark: #000000;
JSON
{
  "hex": "#9e66ca",
  "rgb": {
    "r": 158,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 273.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6118,
    "c": 0.15519,
    "h": 308.3
  },
  "luminance": 0.21036
}

Semantic roles & 50–950 ramp

primary
#9E66CA
secondary
#C4D9B2
accent
#D8508C
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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