#9876DF#9876DF

#9876DF is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.4% C 0.155 H 296.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9876DF
RGBrgb(152, 118, 223)
HSLhsl(259, 62%, 67%)
HSVhsv(259, 47%, 87%)
CMYKcmyk(31.8%, 47.1%, 0%, 12.5%)
CIE-LABlab(57.04, 35.70, -49.03)
CIE-LCHlch(57.04, 60.65, 306.06°)
OKLaboklab(64.42% 0.0696 -0.138)
OKLCHoklch(64.42% 0.155 296.8)
XYZxyz(32.7433, 24.9596, 72.8903)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876DF #BDDF76
analogous
#7689DF #9876DF #CD76DF
triadic
#9876DF #DF9876 #76DF98
tetradic
#9876DF #DF7689 #BDDF76 #76DFCD
square
#9876DF #DF7689 #BDDF76 #76DFCD
split-complementary
#9876DF #DFCD76 #89DF76
monochromatic
#5529B1 #7344D3 #9876DF #BDA8EB #E3D9F6

Accessibility & contrast

On white

3.50
#9876DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9876DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876DF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876DF#FFFFFF#000000##000000
##9876DF1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#5A88DC
Tritanopia (blue-blind)
#898AA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9876df;
/* rgb */ color: rgb(152, 118, 223);
/* oklch */ color: oklch(64.4% 0.155 296.8);
Tailwind
colors: {
  custom: {
    50: '#b99ee9',
    500: '#9876df',
    950: '#000000',
  },
}
SCSS
$custom: #9876df;
$custom-light: #b99ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#9876df",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 259.429,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64415,
    "c": 0.15456,
    "h": 296.8
  },
  "luminance": 0.2496
}

Semantic roles & 50–950 ramp

primary
#9876DF
secondary
#DEE9C8
accent
#CA1C91
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9876DF

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

Preview Lab → · Contrast checker → · Palette generator →

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