#9877C8#9877C8

#9877C8 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.4% C 0.123 H 301.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9877C8
RGBrgb(152, 119, 200)
HSLhsl(264, 42%, 63%)
HSVhsv(264, 41%, 78%)
CMYKcmyk(24%, 40.5%, 0%, 21.6%)
CIE-LABlab(56.13, 29.42, -37.48)
CIE-LCHlch(56.13, 47.65, 308.13°)
OKLaboklab(63.36% 0.0647 -0.1044)
OKLCHoklch(63.36% 0.123 301.8)
XYZxyz(29.9688, 24.0391, 57.6936)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9877C8 #A7C877
analogous
#777FC8 #9877C8 #C077C8
triadic
#9877C8 #C89877 #77C898
tetradic
#9877C8 #C8777F #A7C877 #77C8C0
square
#9877C8 #C8777F #A7C877 #77C8C0
split-complementary
#9877C8 #C8C077 #7FC877
monochromatic
#5B398C #774BB6 #9877C8 #B9A3DA #DACEEB

Accessibility & contrast

On white

3.62
#9877C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9877C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9877C8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9877C8#FFFFFF#000000##000000
##9877C81.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CB
Deuteranopia (green-blind)
#6986C6
Tritanopia (blue-blind)
#908496
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9877c8;
/* rgb */ color: rgb(152, 119, 200);
/* oklch */ color: oklch(63.4% 0.123 301.8);
Tailwind
colors: {
  custom: {
    50: '#b89ed9',
    500: '#9877c8',
    950: '#000000',
  },
}
SCSS
$custom: #9877c8;
$custom-light: #b89ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9877c8",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 264.444,
    "s": 42.408,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63358,
    "c": 0.12282,
    "h": 301.8
  },
  "luminance": 0.24039
}

Semantic roles & 50–950 ramp

primary
#9877C8
secondary
#D0DCBF
accent
#B5307F
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9877C8

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

Preview Lab → · Contrast checker → · Palette generator →

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