#9866FB#9866FB

#9866FB is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.6% C 0.212 H 295.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9866FB
RGBrgb(152, 102, 251)
HSLhsl(260, 95%, 69%)
HSVhsv(260, 59%, 98%)
CMYKcmyk(39.4%, 59.4%, 0%, 1.6%)
CIE-LABlab(55.22, 51.77, -67.56)
CIE-LCHlch(55.22, 85.11, 307.47°)
OKLaboklab(63.6% 0.0902 -0.1923)
OKLCHoklch(63.6% 0.212 295.1)
XYZxyz(35.1083, 23.1424, 93.8653)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9866FB #C9FB66
analogous
#667FFB #9866FB #E266FB
triadic
#9866FB #FB9866 #66FB98
tetradic
#9866FB #FB667F #C9FB66 #66FBE2
square
#9866FB #FB667F #C9FB66 #66FBE2
split-complementary
#9866FB #FBE266 #7FFB66
monochromatic
#4F06E1 #702AF9 #9866FB #C0A2FD #E8DDFE

Accessibility & contrast

On white

3.73
#9866FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9866FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9866FB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9866FB#FFFFFF#000000##000000
##9866FB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#1982F8
Tritanopia (blue-blind)
#7F87A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9866fb;
/* rgb */ color: rgb(152, 102, 251);
/* oklch */ color: oklch(63.6% 0.212 295.1);
Tailwind
colors: {
  custom: {
    50: '#bc94fd',
    500: '#9866fb',
    950: '#000000',
  },
}
SCSS
$custom: #9866fb;
$custom-light: #bc94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9866fb",
  "rgb": {
    "r": 152,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 260.134,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63597,
    "c": 0.21245,
    "h": 295.1
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#9866FB
secondary
#E6F4C9
accent
#E60098
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9866FB

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

Preview Lab → · Contrast checker → · Palette generator →

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