#9878C8#9878C8

#9878C8 is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.5% C 0.121 H 301.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9878C8
RGBrgb(152, 120, 200)
HSLhsl(264, 42%, 63%)
HSVhsv(264, 40%, 78%)
CMYKcmyk(24%, 40%, 0%, 21.6%)
CIE-LABlab(56.37, 28.85, -37.11)
CIE-LCHlch(56.37, 47.00, 307.86°)
OKLaboklab(63.54% 0.0633 -0.1033)
OKLCHoklch(63.54% 0.121 301.5)
XYZxyz(30.0884, 24.2784, 57.7334)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9878C8 #A8C878
analogous
#7880C8 #9878C8 #C078C8
triadic
#9878C8 #C89878 #78C898
tetradic
#9878C8 #C87880 #A8C878 #78C8C0
square
#9878C8 #C87880 #A8C878 #78C8C0
split-complementary
#9878C8 #C8C078 #80C878
monochromatic
#5A398C #774DB6 #9878C8 #B9A3DA #DACFEB

Accessibility & contrast

On white

3.59
#9878C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#9878C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9878C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9878C8#FFFFFF#000000##000000
##9878C81.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CB
Deuteranopia (green-blind)
#6A87C6
Tritanopia (blue-blind)
#8F8596
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9878c8;
/* rgb */ color: rgb(152, 120, 200);
/* oklch */ color: oklch(63.5% 0.121 301.5);
Tailwind
colors: {
  custom: {
    50: '#b89fd9',
    500: '#9878c8',
    950: '#000000',
  },
}
SCSS
$custom: #9878c8;
$custom-light: #b89fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9878c8",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 264,
    "s": 42.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63538,
    "c": 0.12116,
    "h": 301.5
  },
  "luminance": 0.24278
}

Semantic roles & 50–950 ramp

primary
#9878C8
secondary
#D1DCBF
accent
#B53080
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9878C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9878C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva