#9866F3#9866F3

#9866F3 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.1% C 0.203 H 296.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9866F3
RGBrgb(152, 102, 243)
HSLhsl(261, 85%, 68%)
HSVhsv(261, 58%, 95%)
CMYKcmyk(37.4%, 58%, 0%, 4.7%)
CIE-LABlab(54.71, 49.72, -63.93)
CIE-LCHlch(54.71, 80.99, 307.87°)
OKLaboklab(63.06% 0.0905 -0.1817)
OKLCHoklch(63.06% 0.203 296.5)
XYZxyz(33.8738, 22.6486, 87.3636)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9866F3 #C1F366
analogous
#667AF3 #9866F3 #DF66F3
triadic
#9866F3 #F39866 #66F398
tetradic
#9866F3 #F3667A #C1F366 #66F3DF
square
#9866F3 #F3667A #C1F366 #66F3DF
split-complementary
#9866F3 #F3DF66 #7AF366
monochromatic
#5410CE #722DEF #9866F3 #BE9FF7 #E4D7FC

Accessibility & contrast

On white

3.80
#9866F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9866F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9866F3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9866F3#FFFFFF#000000##000000
##9866F31.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D84F8
Deuteranopia (green-blind)
#2C81F0
Tritanopia (blue-blind)
#8284A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9866f3;
/* rgb */ color: rgb(152, 102, 243);
/* oklch */ color: oklch(63.1% 0.203 296.5);
Tailwind
colors: {
  custom: {
    50: '#bb93f8',
    500: '#9866f3',
    950: '#000000',
  },
}
SCSS
$custom: #9866f3;
$custom-light: #bb93f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9866f3",
  "rgb": {
    "r": 152,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 261.277,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63062,
    "c": 0.20297,
    "h": 296.5
  },
  "luminance": 0.22649
}

Semantic roles & 50–950 ramp

primary
#9866F3
secondary
#E1F0C5
accent
#E20493
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9866F3

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

Preview Lab → · Contrast checker → · Palette generator →

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