#C879EA#C879EA

#C879EA is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.4% C 0.177 H 314.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#C879EA
RGBrgb(200, 121, 234)
HSLhsl(282, 73%, 70%)
HSVhsv(282, 48%, 92%)
CMYKcmyk(14.5%, 48.3%, 0%, 8.2%)
CIE-LABlab(63.26, 49.53, -45.01)
CIE-LCHlch(63.26, 66.92, 317.74°)
OKLaboklab(70.38% 0.1248 -0.1251)
OKLCHoklch(70.38% 0.177 314.9)
XYZxyz(45.5057, 31.8959, 81.5853)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879EA #9BEA79
analogous
#9079EA #C879EA #EA79D3
triadic
#C879EA #EAC879 #79EAC8
tetradic
#C879EA #EA9079 #9BEA79 #79D3EA
square
#C879EA #EA9079 #9BEA79 #79D3EA
split-complementary
#C879EA #D3EA79 #79EA90
monochromatic
#9620C9 #B244E2 #C879EA #DEAEF2 #F3E3FB

Accessibility & contrast

On white

2.85
#C879EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#C879EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879EA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879EA#FFFFFF#000000##000000
##C879EA1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#789BE7
Tritanopia (blue-blind)
#C68AA7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c879ea;
/* rgb */ color: rgb(200, 121, 234);
/* oklch */ color: oklch(70.4% 0.177 314.9);
Tailwind
colors: {
  custom: {
    50: '#dba2f1',
    500: '#c879ea',
    950: '#000000',
  },
}
SCSS
$custom: #c879ea;
$custom-light: #dba2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c879ea",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 281.947,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.17668,
    "h": 314.9
  },
  "luminance": 0.31895
}

Semantic roles & 50–950 ramp

primary
#C879EA
secondary
#D9F0CF
accent
#D5114C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C879EA

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

Preview Lab → · Contrast checker → · Palette generator →

#C879EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva