#9877CA#9877CA

#9877CA is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.5% C 0.125 H 301.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9877CA
RGBrgb(152, 119, 202)
HSLhsl(264, 44%, 63%)
HSVhsv(264, 41%, 79%)
CMYKcmyk(24.8%, 41.1%, 0%, 20.8%)
CIE-LABlab(56.22, 29.90, -38.47)
CIE-LCHlch(56.22, 48.73, 307.86°)
OKLaboklab(63.46% 0.0651 -0.1073)
OKLCHoklch(63.46% 0.125 301.2)
XYZxyz(30.2040, 24.1333, 58.9326)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9877CA #A9CA77
analogous
#7780CA #9877CA #C177CA
triadic
#9877CA #CA9877 #77CA98
tetradic
#9877CA #CA7780 #A9CA77 #77CAC1
square
#9877CA #CA7780 #A9CA77 #77CAC1
split-complementary
#9877CA #CAC177 #80CA77
monochromatic
#5A388F #774BB9 #9877CA #B9A3DB #DBCFEC

Accessibility & contrast

On white

3.60
#9877CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9877CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9877CA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9877CA#FFFFFF#000000##000000
##9877CA1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CD
Deuteranopia (green-blind)
#6886C8
Tritanopia (blue-blind)
#8F8597
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9877ca;
/* rgb */ color: rgb(152, 119, 202);
/* oklch */ color: oklch(63.5% 0.125 301.2);
Tailwind
colors: {
  custom: {
    50: '#b89eda',
    500: '#9877ca',
    950: '#000000',
  },
}
SCSS
$custom: #9877ca;
$custom-light: #b89eda;
$custom-dark: #000000;
JSON
{
  "hex": "#9877ca",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 263.855,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6346,
    "c": 0.12546,
    "h": 301.2
  },
  "luminance": 0.24133
}

Semantic roles & 50–950 ramp

primary
#9877CA
secondary
#D1DDBF
accent
#B72E81
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9877CA

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

Preview Lab → · Contrast checker → · Palette generator →

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