#9877CF#9877CF

#9877CF is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.7% C 0.132 H 300.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9877CF
RGBrgb(152, 119, 207)
HSLhsl(263, 48%, 64%)
HSVhsv(263, 43%, 81%)
CMYKcmyk(26.6%, 42.5%, 0%, 18.8%)
CIE-LABlab(56.46, 31.12, -40.93)
CIE-LCHlch(56.46, 51.42, 307.25°)
OKLaboklab(63.72% 0.066 -0.1144)
OKLCHoklch(63.72% 0.132 300)
XYZxyz(30.8056, 24.3739, 62.1011)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9877CF #AECF77
analogous
#7782CF #9877CF #C477CF
triadic
#9877CF #CF9877 #77CF98
tetradic
#9877CF #CF7782 #AECF77 #77CFC4
square
#9877CF #CF7782 #AECF77 #77CFC4
split-complementary
#9877CF #CFC477 #82CF77
monochromatic
#5A3596 #764ABF #9877CF #BAA4DF #DDD1EF

Accessibility & contrast

On white

3.57
#9877CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9877CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9877CF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9877CF#FFFFFF#000000##000000
##9877CF1.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#6687CD
Tritanopia (blue-blind)
#8E8699
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9877cf;
/* rgb */ color: rgb(152, 119, 207);
/* oklch */ color: oklch(63.7% 0.132 300.0);
Tailwind
colors: {
  custom: {
    50: '#b89ede',
    500: '#9877cf',
    950: '#000000',
  },
}
SCSS
$custom: #9877cf;
$custom-light: #b89ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9877cf",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 262.5,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63719,
    "c": 0.13205,
    "h": 300
  },
  "luminance": 0.24374
}

Semantic roles & 50–950 ramp

primary
#9877CF
secondary
#D5E0C1
accent
#BB2A85
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9877CF

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

Preview Lab → · Contrast checker → · Palette generator →

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