#9877CD#9877CD

#9877CD is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.6% C 0.129 H 300.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9877CD
RGBrgb(152, 119, 205)
HSLhsl(263, 46%, 64%)
HSVhsv(263, 42%, 80%)
CMYKcmyk(25.9%, 42%, 0%, 19.6%)
CIE-LABlab(56.36, 30.63, -39.95)
CIE-LCHlch(56.36, 50.34, 307.48°)
OKLaboklab(63.61% 0.0656 -0.1115)
OKLCHoklch(63.61% 0.129 300.5)
XYZxyz(30.5627, 24.2767, 60.8215)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9877CD #ACCD77
analogous
#7781CD #9877CD #C377CD
triadic
#9877CD #CD9877 #77CD98
tetradic
#9877CD #CD7781 #ACCD77 #77CDC3
square
#9877CD #CD7781 #ACCD77 #77CDC3
split-complementary
#9877CD #CDC377 #81CD77
monochromatic
#5A3693 #764ABD #9877CD #BAA4DD #DCD0EE

Accessibility & contrast

On white

3.59
#9877CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#9877CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9877CD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9877CD#FFFFFF#000000##000000
##9877CD1.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)
#6087D0
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#8E8698
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9877cd;
/* rgb */ color: rgb(152, 119, 205);
/* oklch */ color: oklch(63.6% 0.129 300.5);
Tailwind
colors: {
  custom: {
    50: '#b89edc',
    500: '#9877cd',
    950: '#000000',
  },
}
SCSS
$custom: #9877cd;
$custom-light: #b89edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9877cd",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 263.023,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63614,
    "c": 0.12941,
    "h": 300.5
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#9877CD
secondary
#D3DFC1
accent
#B92C83
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9877CD

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

Preview Lab → · Contrast checker → · Palette generator →

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