#9876FF#9876FF

#9876FF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.3% C 0.195 H 291.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9876FF
RGBrgb(152, 118, 255)
HSLhsl(255, 100%, 73%)
HSVhsv(255, 54%, 100%)
CMYKcmyk(40.4%, 53.7%, 0%, 0%)
CIE-LABlab(58.84, 44.06, -63.94)
CIE-LCHlch(58.84, 77.65, 304.57°)
OKLaboklab(66.34% 0.072 -0.1817)
OKLCHoklch(66.34% 0.195 291.6)
XYZxyz(37.4724, 26.8512, 97.7968)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876FF #DDFF76
analogous
#7698FF #9876FF #DD76FF
triadic
#9876FF #FF9876 #76FF98
tetradic
#9876FF #FF7698 #DDFF76 #76FFDD
square
#9876FF #FF7698 #DDFF76 #76FFDD
split-complementary
#9876FF #FFDD76 #98FF76
monochromatic
#3E00FB #6A39FF #9876FF #C6B3FF #E8E0FF

Accessibility & contrast

On white

3.30
#9876FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#9876FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876FF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876FF#FFFFFF#000000##000000
##9876FF1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3390FF
Deuteranopia (green-blind)
#3B8BFC
Tritanopia (blue-blind)
#7C93AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9876ff;
/* rgb */ color: rgb(152, 118, 255);
/* oklch */ color: oklch(66.3% 0.195 291.6);
Tailwind
colors: {
  custom: {
    50: '#bc9eff',
    500: '#9876ff',
    950: '#000000',
  },
}
SCSS
$custom: #9876ff;
$custom-light: #bc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#9876ff",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 255
  },
  "hsl": {
    "h": 254.891,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66338,
    "c": 0.19542,
    "h": 291.6
  },
  "luminance": 0.26852
}

Semantic roles & 50–950 ramp

primary
#9876FF
secondary
#EEF7D4
accent
#E600AD
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9876FF

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

Preview Lab → · Contrast checker → · Palette generator →

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