#9876CE#9876CE

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

Color values

HEX#9876CE
RGBrgb(152, 118, 206)
HSLhsl(263, 47%, 64%)
HSVhsv(263, 43%, 81%)
CMYKcmyk(26.2%, 42.7%, 0%, 19.2%)
CIE-LABlab(56.18, 31.45, -40.81)
CIE-LCHlch(56.18, 51.52, 307.62°)
OKLaboklab(63.49% 0.0672 -0.114)
OKLCHoklch(63.49% 0.132 300.5)
XYZxyz(30.5654, 24.0884, 61.4198)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876CE #ACCE76
analogous
#7680CE #9876CE #C476CE
triadic
#9876CE #CE9876 #76CE98
tetradic
#9876CE #CE7680 #ACCE76 #76CEC4
square
#9876CE #CE7680 #ACCE76 #76CEC4
split-complementary
#9876CE #CEC476 #80CE76
monochromatic
#5A3594 #7649BE #9876CE #BAA3DE #DCD0EE

Accessibility & contrast

On white

3.61
#9876CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9876CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876CE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876CE#FFFFFF#000000##000000
##9876CE1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D1
Deuteranopia (green-blind)
#6586CC
Tritanopia (blue-blind)
#8E8598
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9876ce;
/* rgb */ color: rgb(152, 118, 206);
/* oklch */ color: oklch(63.5% 0.132 300.5);
Tailwind
colors: {
  custom: {
    50: '#b89edd',
    500: '#9876ce',
    950: '#000000',
  },
}
SCSS
$custom: #9876ce;
$custom-light: #b89edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9876ce",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 263.182,
    "s": 47.312,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63488,
    "c": 0.13237,
    "h": 300.5
  },
  "luminance": 0.24088
}

Semantic roles & 50–950 ramp

primary
#9876CE
secondary
#D3DFC0
accent
#BB2B83
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9876CE

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

Preview Lab → · Contrast checker → · Palette generator →

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