#C879EC#C879EC

#C879EC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.179 H 314.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#C879EC
RGBrgb(200, 121, 236)
HSLhsl(281, 75%, 70%)
HSVhsv(281, 49%, 93%)
CMYKcmyk(15.3%, 48.7%, 0%, 7.5%)
CIE-LABlab(63.35, 49.94, -45.96)
CIE-LCHlch(63.35, 67.87, 317.38°)
OKLaboklab(70.48% 0.125 -0.1279)
OKLCHoklch(70.48% 0.179 314.3)
XYZxyz(45.7947, 32.0114, 83.1071)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879EC #9DEC79
analogous
#8E79EC #C879EC #EC79D7
triadic
#C879EC #ECC879 #79ECC8
tetradic
#C879EC #EC8E79 #9DEC79 #79D7EC
square
#C879EC #EC8E79 #9DEC79 #79D7EC
split-complementary
#C879EC #D7EC79 #79EC8E
monochromatic
#961DCD #B243E4 #C879EC #DEAFF4 #F4E4FB

Accessibility & contrast

On white

2.84
#C879EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#C879EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879EC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879EC#FFFFFF#000000##000000
##C879EC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#779CE9
Tritanopia (blue-blind)
#C58BA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c879ec;
/* rgb */ color: rgb(200, 121, 236);
/* oklch */ color: oklch(70.5% 0.179 314.3);
Tailwind
colors: {
  custom: {
    50: '#dba2f2',
    500: '#c879ec',
    950: '#000000',
  },
}
SCSS
$custom: #c879ec;
$custom-light: #dba2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c879ec",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 281.217,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70477,
    "c": 0.17883,
    "h": 314.3
  },
  "luminance": 0.3201
}

Semantic roles & 50–950 ramp

primary
#C879EC
secondary
#DAF0D0
accent
#D70E4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C879EC

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

Preview Lab → · Contrast checker → · Palette generator →

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