#9B66EC#9B66EC

#9B66EC is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.195 H 298.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9B66EC
RGBrgb(155, 102, 236)
HSLhsl(264, 78%, 66%)
HSVhsv(264, 57%, 93%)
CMYKcmyk(34.3%, 56.8%, 0%, 7.5%)
CIE-LABlab(54.58, 48.62, -60.22)
CIE-LCHlch(54.58, 77.40, 308.92°)
OKLaboklab(62.9% 0.0943 -0.1707)
OKLCHoklch(62.9% 0.195 298.9)
XYZxyz(33.4056, 22.5271, 81.9288)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B66EC #B7EC66
analogous
#6674EC #9B66EC #DE66EC
triadic
#9B66EC #EC9B66 #66EC9B
tetradic
#9B66EC #EC6674 #B7EC66 #66ECDE
square
#9B66EC #EC6674 #B7EC66 #66ECDE
split-complementary
#9B66EC #ECDE66 #74EC66
monochromatic
#5A18C0 #7730E5 #9B66EC #BF9CF3 #E2D3FA

Accessibility & contrast

On white

3.81
#9B66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9B66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B66EC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B66EC#FFFFFF#000000##000000
##9B66EC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F0
Deuteranopia (green-blind)
#3B81E9
Tritanopia (blue-blind)
#89829F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9b66ec;
/* rgb */ color: rgb(155, 102, 236);
/* oklch */ color: oklch(62.9% 0.195 298.9);
Tailwind
colors: {
  custom: {
    50: '#bd93f3',
    500: '#9b66ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b66ec;
$custom-light: #bd93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b66ec",
  "rgb": {
    "r": 155,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 263.731,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62901,
    "c": 0.19501,
    "h": 298.9
  },
  "luminance": 0.22527
}

Semantic roles & 50–950 ramp

primary
#9B66EC
secondary
#DBEDC1
accent
#DA0B88
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9B66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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