#9866F6#9866F6

#9866F6 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.3% C 0.207 H 296.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9866F6
RGBrgb(152, 102, 246)
HSLhsl(261, 89%, 68%)
HSVhsv(261, 59%, 96%)
CMYKcmyk(38.2%, 58.5%, 0%, 3.5%)
CIE-LABlab(54.90, 50.49, -65.30)
CIE-LCHlch(54.90, 82.54, 307.71°)
OKLaboklab(63.26% 0.0904 -0.1857)
OKLCHoklch(63.26% 0.207 296)
XYZxyz(34.3305, 22.8313, 89.7690)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9866F6 #C4F666
analogous
#667CF6 #9866F6 #E066F6
triadic
#9866F6 #F69866 #66F698
tetradic
#9866F6 #F6667C #C4F666 #66F6E0
square
#9866F6 #F6667C #C4F666 #66F6E0
split-complementary
#9866F6 #F6E066 #7CF666
monochromatic
#520DD5 #712CF3 #9866F6 #BFA0F9 #E6DAFD

Accessibility & contrast

On white

3.77
#9866F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9866F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9866F6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9866F6#FFFFFF#000000##000000
##9866F61.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#2681F3
Tritanopia (blue-blind)
#8185A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9866f6;
/* rgb */ color: rgb(152, 102, 246);
/* oklch */ color: oklch(63.3% 0.207 296.0);
Tailwind
colors: {
  custom: {
    50: '#bc93fa',
    500: '#9866f6',
    950: '#000000',
  },
}
SCSS
$custom: #9866f6;
$custom-light: #bc93fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9866f6",
  "rgb": {
    "r": 152,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 260.833,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63261,
    "c": 0.20653,
    "h": 296
  },
  "luminance": 0.22832
}

Semantic roles & 50–950 ramp

primary
#9866F6
secondary
#E3F2C6
accent
#E60096
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9866F6

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

Preview Lab → · Contrast checker → · Palette generator →

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