#9866FD#9866FD

#9866FD is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.7% C 0.215 H 294.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9866FD
RGBrgb(152, 102, 253)
HSLhsl(260, 97%, 70%)
HSVhsv(260, 60%, 99%)
CMYKcmyk(39.9%, 59.7%, 0%, 0.8%)
CIE-LABlab(55.35, 52.29, -68.45)
CIE-LCHlch(55.35, 86.14, 307.38°)
OKLaboklab(63.73% 0.0902 -0.195)
OKLCHoklch(63.73% 0.215 294.8)
XYZxyz(35.4252, 23.2692, 95.5344)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9866FD #CBFD66
analogous
#667FFD #9866FD #E466FD
triadic
#9866FD #FD9866 #66FD98
tetradic
#9866FD #FD667F #CBFD66 #66FDE4
square
#9866FD #FD667F #CBFD66 #66FDE4
split-complementary
#9866FD #FDE466 #7FFD66
monochromatic
#4E03E6 #6F2AFC #9866FD #C1A2FE #E9DFFF

Accessibility & contrast

On white

3.71
#9866FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#9866FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9866FD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9866FD#FFFFFF#000000##000000
##9866FD1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#1182FA
Tritanopia (blue-blind)
#7E87A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9866fd;
/* rgb */ color: rgb(152, 102, 253);
/* oklch */ color: oklch(63.7% 0.215 294.8);
Tailwind
colors: {
  custom: {
    50: '#bc94ff',
    500: '#9866fd',
    950: '#000000',
  },
}
SCSS
$custom: #9866fd;
$custom-light: #bc94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9866fd",
  "rgb": {
    "r": 152,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 259.868,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63733,
    "c": 0.21481,
    "h": 294.8
  },
  "luminance": 0.2327
}

Semantic roles & 50–950 ramp

primary
#9866FD
secondary
#E7F5CA
accent
#E6009A
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9866FD

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

Preview Lab → · Contrast checker → · Palette generator →

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