#C879EE#C879EE

#C879EE is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.181 H 313.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#C879EE
RGBrgb(200, 121, 238)
HSLhsl(281, 77%, 70%)
HSVhsv(281, 49%, 93%)
CMYKcmyk(16%, 49.2%, 0%, 6.7%)
CIE-LABlab(63.45, 50.36, -46.92)
CIE-LCHlch(63.45, 68.83, 317.03°)
OKLaboklab(70.58% 0.1252 -0.1307)
OKLCHoklch(70.58% 0.181 313.8)
XYZxyz(46.0869, 32.1283, 84.6460)
Luminance0.3213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879EE #9FEE79
analogous
#8D79EE #C879EE #EE79D9
triadic
#C879EE #EEC879 #79EEC8
tetradic
#C879EE #EE8D79 #9FEE79 #79D9EE
square
#C879EE #EE8D79 #9FEE79 #79D9EE
split-complementary
#C879EE #D9EE79 #79EE8D
monochromatic
#961BD2 #B243E7 #C879EE #DEAFF5 #F4E4FC

Accessibility & contrast

On white

2.83
#C879EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#C879EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879EE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879EE#FFFFFF#000000##000000
##C879EE1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#769CEB
Tritanopia (blue-blind)
#C58BA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c879ee;
/* rgb */ color: rgb(200, 121, 238);
/* oklch */ color: oklch(70.6% 0.181 313.8);
Tailwind
colors: {
  custom: {
    50: '#dba2f4',
    500: '#c879ee',
    950: '#000000',
  },
}
SCSS
$custom: #c879ee;
$custom-light: #dba2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c879ee",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 280.513,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7058,
    "c": 0.18098,
    "h": 313.8
  },
  "luminance": 0.32127
}

Semantic roles & 50–950 ramp

primary
#C879EE
secondary
#DCF1D1
accent
#DA0C4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C879EE

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

Preview Lab → · Contrast checker → · Palette generator →

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