#9876FC#9876FC

#9876FC is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.1% C 0.192 H 292.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9876FC
RGBrgb(152, 118, 252)
HSLhsl(255, 96%, 73%)
HSVhsv(255, 53%, 99%)
CMYKcmyk(39.7%, 53.2%, 0%, 1.2%)
CIE-LABlab(58.66, 43.26, -62.57)
CIE-LCHlch(58.66, 76.07, 304.66°)
OKLaboklab(66.15% 0.0719 -0.1777)
OKLCHoklch(66.15% 0.192 292)
XYZxyz(36.9933, 26.6595, 95.2733)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876FC #DAFC76
analogous
#7697FC #9876FC #DB76FC
triadic
#9876FC #FC9876 #76FC98
tetradic
#9876FC #FC7697 #DAFC76 #76FCDB
square
#9876FC #FC7697 #DAFC76 #76FCDB
split-complementary
#9876FC #FCDB76 #97FC76
monochromatic
#4105F2 #6B3AFB #9876FC #C5B2FD #E8E1FE

Accessibility & contrast

On white

3.32
#9876FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9876FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876FC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876FC#FFFFFF#000000##000000
##9876FC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#3F8AF9
Tritanopia (blue-blind)
#7D92AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9876fc;
/* rgb */ color: rgb(152, 118, 252);
/* oklch */ color: oklch(66.1% 0.192 292.0);
Tailwind
colors: {
  custom: {
    50: '#bb9efe',
    500: '#9876fc',
    950: '#000000',
  },
}
SCSS
$custom: #9876fc;
$custom-light: #bb9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#9876fc",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 255.224,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66148,
    "c": 0.19165,
    "h": 292
  },
  "luminance": 0.26661
}

Semantic roles & 50–950 ramp

primary
#9876FC
secondary
#EEF7D4
accent
#E600AB
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9876FC

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

Preview Lab → · Contrast checker → · Palette generator →

#9876FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva