#9876CF#9876CF

#9876CF is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.5% C 0.134 H 300.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9876CF
RGBrgb(152, 118, 207)
HSLhsl(263, 48%, 64%)
HSVhsv(263, 43%, 81%)
CMYKcmyk(26.6%, 43%, 0%, 18.8%)
CIE-LABlab(56.22, 31.70, -41.30)
CIE-LCHlch(56.22, 52.06, 307.51°)
OKLaboklab(63.54% 0.0673 -0.1155)
OKLCHoklch(63.54% 0.134 300.3)
XYZxyz(30.6873, 24.1371, 62.0616)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876CF #ADCF76
analogous
#7680CF #9876CF #C476CF
triadic
#9876CF #CF9876 #76CF98
tetradic
#9876CF #CF7680 #ADCF76 #76CFC4
square
#9876CF #CF7680 #ADCF76 #76CFC4
split-complementary
#9876CF #CFC476 #80CF76
monochromatic
#5A3596 #7649BF #9876CF #BAA3DF #DCD1EF

Accessibility & contrast

On white

3.60
#9876CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9876CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876CF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876CF#FFFFFF#000000##000000
##9876CF1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D2
Deuteranopia (green-blind)
#6586CD
Tritanopia (blue-blind)
#8E8599
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9876cf;
/* rgb */ color: rgb(152, 118, 207);
/* oklch */ color: oklch(63.5% 0.134 300.3);
Tailwind
colors: {
  custom: {
    50: '#b89ede',
    500: '#9876cf',
    950: '#000000',
  },
}
SCSS
$custom: #9876cf;
$custom-light: #b89ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9876cf",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 262.921,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63541,
    "c": 0.13368,
    "h": 300.3
  },
  "luminance": 0.24137
}

Semantic roles & 50–950 ramp

primary
#9876CF
secondary
#D4E0C1
accent
#BB2A84
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9876CF

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

Preview Lab → · Contrast checker → · Palette generator →

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