#9866E8#9866E8

#9866E8 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.3% C 0.190 H 298.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9866E8
RGBrgb(152, 102, 232)
HSLhsl(263, 74%, 65%)
HSVhsv(263, 56%, 91%)
CMYKcmyk(34.5%, 56%, 0%, 9%)
CIE-LABlab(54.03, 46.92, -58.88)
CIE-LCHlch(54.03, 75.29, 308.55°)
OKLaboklab(62.35% 0.0905 -0.1668)
OKLCHoklch(62.35% 0.19 298.5)
XYZxyz(32.2622, 22.0040, 78.8758)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9866E8 #B6E866
analogous
#6675E8 #9866E8 #D966E8
triadic
#9866E8 #E89866 #66E898
tetradic
#9866E8 #E86675 #B6E866 #66E8D9
square
#9866E8 #E86675 #B6E866 #66E8D9
split-complementary
#9866E8 #E8D966 #75E866
monochromatic
#581CB8 #7431E0 #9866E8 #BC9BF0 #E0D0F8

Accessibility & contrast

On white

3.89
#9866E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9866E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9866E8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9866E8#FFFFFF#000000##000000
##9866E81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EC
Deuteranopia (green-blind)
#3C80E5
Tritanopia (blue-blind)
#86819D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9866e8;
/* rgb */ color: rgb(152, 102, 232);
/* oklch */ color: oklch(62.3% 0.190 298.5);
Tailwind
colors: {
  custom: {
    50: '#bb93f0',
    500: '#9866e8',
    950: '#000000',
  },
}
SCSS
$custom: #9866e8;
$custom-light: #bb93f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9866e8",
  "rgb": {
    "r": 152,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 263.077,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62348,
    "c": 0.1898,
    "h": 298.5
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#9866E8
secondary
#DAEBBF
accent
#D6108A
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9866E8

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

Preview Lab → · Contrast checker → · Palette generator →

#9866E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva