#C879E8#C879E8

#C879E8 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.3% C 0.175 H 315.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C879E8
RGBrgb(200, 121, 232)
HSLhsl(283, 71%, 69%)
HSVhsv(283, 48%, 91%)
CMYKcmyk(13.8%, 47.8%, 0%, 9%)
CIE-LABlab(63.16, 49.12, -44.05)
CIE-LCHlch(63.16, 65.97, 318.12°)
OKLaboklab(70.27% 0.1245 -0.1223)
OKLCHoklch(70.27% 0.175 315.5)
XYZxyz(45.2200, 31.7816, 80.0807)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879E8 #99E879
analogous
#9179E8 #C879E8 #E879D1
triadic
#C879E8 #E8C879 #79E8C8
tetradic
#C879E8 #E89179 #99E879 #79D1E8
square
#C879E8 #E89179 #99E879 #79D1E8
split-complementary
#C879E8 #D1E879 #79E891
monochromatic
#9622C5 #B345DF #C879E8 #DDADF1 #F3E1FA

Accessibility & contrast

On white

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

On black

7.36
#C879E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879E8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879E8#FFFFFF#000000##000000
##C879E81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EC
Deuteranopia (green-blind)
#799BE5
Tritanopia (blue-blind)
#C689A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c879e8;
/* rgb */ color: rgb(200, 121, 232);
/* oklch */ color: oklch(70.3% 0.175 315.5);
Tailwind
colors: {
  custom: {
    50: '#dba2f0',
    500: '#c879e8',
    950: '#000000',
  },
}
SCSS
$custom: #c879e8;
$custom-light: #dba2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c879e8",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 282.703,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.17453,
    "h": 315.5
  },
  "luminance": 0.3178
}

Semantic roles & 50–950 ramp

primary
#C879E8
secondary
#D8EFCE
accent
#D3134A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C879E8

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

Preview Lab → · Contrast checker → · Palette generator →

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