#9876CC#9876CC

#9876CC is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.4% C 0.130 H 301.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9876CC
RGBrgb(152, 118, 204)
HSLhsl(264, 46%, 63%)
HSVhsv(264, 42%, 80%)
CMYKcmyk(25.5%, 42.2%, 0%, 20%)
CIE-LABlab(56.08, 30.97, -39.83)
CIE-LCHlch(56.08, 50.45, 307.86°)
OKLaboklab(63.38% 0.0668 -0.1112)
OKLCHoklch(63.38% 0.13 301)
XYZxyz(30.3240, 23.9918, 60.1484)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876CC #AACC76
analogous
#767FCC #9876CC #C376CC
triadic
#9876CC #CC9876 #76CC98
tetradic
#9876CC #CC767F #AACC76 #76CCC3
square
#9876CC #CC767F #AACC76 #76CCC3
split-complementary
#9876CC #CCC376 #7FCC76
monochromatic
#5A3691 #7649BB #9876CC #BAA3DD #DBCFED

Accessibility & contrast

On white

3.62
#9876CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#9876CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876CC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876CC#FFFFFF#000000##000000
##9876CC1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#6686CA
Tritanopia (blue-blind)
#8E8597
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9876cc;
/* rgb */ color: rgb(152, 118, 204);
/* oklch */ color: oklch(63.4% 0.130 301.0);
Tailwind
colors: {
  custom: {
    50: '#b89edc',
    500: '#9876cc',
    950: '#000000',
  },
}
SCSS
$custom: #9876cc;
$custom-light: #b89edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9876cc",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 263.721,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63384,
    "c": 0.12974,
    "h": 301
  },
  "luminance": 0.23992
}

Semantic roles & 50–950 ramp

primary
#9876CC
secondary
#D2DEBF
accent
#B92D81
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9876CC

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

Preview Lab → · Contrast checker → · Palette generator →

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