#9A66EA#9A66EA

#9A66EA is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.7% C 0.192 H 298.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9A66EA
RGBrgb(154, 102, 234)
HSLhsl(264, 76%, 66%)
HSVhsv(264, 56%, 92%)
CMYKcmyk(34.2%, 56.4%, 0%, 8.2%)
CIE-LABlab(54.36, 47.89, -59.46)
CIE-LCHlch(54.36, 76.35, 308.85°)
OKLaboklab(62.67% 0.0931 -0.1685)
OKLCHoklch(62.67% 0.192 298.9)
XYZxyz(32.9254, 22.3129, 80.3981)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A66EA #B6EA66
analogous
#6674EA #9A66EA #DC66EA
triadic
#9A66EA #EA9A66 #66EA9A
tetradic
#9A66EA #EA6674 #B6EA66 #66EADC
square
#9A66EA #EA6674 #B6EA66 #66EADC
split-complementary
#9A66EA #EADC66 #74EA66
monochromatic
#5A1ABC #7630E3 #9A66EA #BE9CF1 #E1D2F9

Accessibility & contrast

On white

3.84
#9A66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9A66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A66EA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A66EA#FFFFFF#000000##000000
##9A66EA1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EE
Deuteranopia (green-blind)
#3C81E7
Tritanopia (blue-blind)
#89819E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a66ea;
/* rgb */ color: rgb(154, 102, 234);
/* oklch */ color: oklch(62.7% 0.192 298.9);
Tailwind
colors: {
  custom: {
    50: '#bc93f1',
    500: '#9a66ea',
    950: '#000000',
  },
}
SCSS
$custom: #9a66ea;
$custom-light: #bc93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a66ea",
  "rgb": {
    "r": 154,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 263.636,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62674,
    "c": 0.19248,
    "h": 298.9
  },
  "luminance": 0.22313
}

Semantic roles & 50–950 ramp

primary
#9A66EA
secondary
#DBECC0
accent
#D80D88
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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