#9879CA#9879CA

#9879CA is a light, vivid violet. Relative luminance 0.246; OKLCH L 63.8% C 0.122 H 300.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9879CA
RGBrgb(152, 121, 202)
HSLhsl(263, 43%, 63%)
HSVhsv(263, 40%, 79%)
CMYKcmyk(24.8%, 40.1%, 0%, 20.8%)
CIE-LABlab(56.70, 28.75, -37.72)
CIE-LCHlch(56.70, 47.43, 307.32°)
OKLaboklab(63.82% 0.0622 -0.1051)
OKLCHoklch(63.82% 0.122 300.6)
XYZxyz(30.4446, 24.6143, 59.0128)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9879CA #ABCA79
analogous
#7982CA #9879CA #C079CA
triadic
#9879CA #CA9879 #79CA98
tetradic
#9879CA #CA7982 #ABCA79 #79CAC0
square
#9879CA #CA7982 #ABCA79 #79CAC0
split-complementary
#9879CA #CAC079 #82CA79
monochromatic
#5A3990 #764DB9 #9879CA #BAA5DB #DBD1ED

Accessibility & contrast

On white

3.55
#9879CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9879CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9879CA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9879CA#FFFFFF#000000##000000
##9879CA1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CD
Deuteranopia (green-blind)
#6A88C8
Tritanopia (blue-blind)
#8F8798
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9879ca;
/* rgb */ color: rgb(152, 121, 202);
/* oklch */ color: oklch(63.8% 0.122 300.6);
Tailwind
colors: {
  custom: {
    50: '#b8a0da',
    500: '#9879ca',
    950: '#000000',
  },
}
SCSS
$custom: #9879ca;
$custom-light: #b8a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#9879ca",
  "rgb": {
    "r": 152,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 262.963,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6382,
    "c": 0.12215,
    "h": 300.6
  },
  "luminance": 0.24614
}

Semantic roles & 50–950 ramp

primary
#9879CA
secondary
#D3DEC1
accent
#B62F83
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9879CA

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

Preview Lab → · Contrast checker → · Palette generator →

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