#9866FF#9866FF

#9866FF is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.9% C 0.217 H 294.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9866FF
RGBrgb(152, 102, 255)
HSLhsl(260, 100%, 70%)
HSVhsv(260, 60%, 100%)
CMYKcmyk(40.4%, 60%, 0%, 0%)
CIE-LABlab(55.48, 52.81, -69.35)
CIE-LCHlch(55.48, 87.17, 307.29°)
OKLaboklab(63.87% 0.0901 -0.1976)
OKLCHoklch(63.87% 0.217 294.5)
XYZxyz(35.7455, 23.3973, 97.2212)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9866FF #CDFF66
analogous
#6680FF #9866FF #E566FF
triadic
#9866FF #FF9866 #66FF98
tetradic
#9866FF #FF6680 #CDFF66 #66FFE5
square
#9866FF #FF6680 #CDFF66 #66FFE5
split-complementary
#9866FF #FFE566 #80FF66
monochromatic
#4D00EB #6F29FF #9866FF #C1A3FF #EAE0FF

Accessibility & contrast

On white

3.70
#9866FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9866FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9866FF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9866FF#FFFFFF#000000##000000
##9866FF1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0682FC
Tritanopia (blue-blind)
#7D88A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9866ff;
/* rgb */ color: rgb(152, 102, 255);
/* oklch */ color: oklch(63.9% 0.217 294.5);
Tailwind
colors: {
  custom: {
    50: '#bc94ff',
    500: '#9866ff',
    950: '#000000',
  },
}
SCSS
$custom: #9866ff;
$custom-light: #bc94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9866ff",
  "rgb": {
    "r": 152,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 259.608,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.6387,
    "c": 0.21716,
    "h": 294.5
  },
  "luminance": 0.23398
}

Semantic roles & 50–950 ramp

primary
#9866FF
secondary
#E8F6CB
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9866FF

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

Preview Lab → · Contrast checker → · Palette generator →

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