#C879EB#C879EB

#C879EB is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.178 H 314.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#C879EB
RGBrgb(200, 121, 235)
HSLhsl(282, 74%, 70%)
HSVhsv(282, 49%, 92%)
CMYKcmyk(14.9%, 48.5%, 0%, 7.8%)
CIE-LABlab(63.30, 49.74, -45.48)
CIE-LCHlch(63.30, 67.40, 317.56°)
OKLaboklab(70.43% 0.1249 -0.1265)
OKLCHoklch(70.43% 0.178 314.6)
XYZxyz(45.6498, 31.9535, 82.3441)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879EB #9CEB79
analogous
#8F79EB #C879EB #EB79D5
triadic
#C879EB #EBC879 #79EBC8
tetradic
#C879EB #EB8F79 #9CEB79 #79D5EB
square
#C879EB #EB8F79 #9CEB79 #79D5EB
split-complementary
#C879EB #D5EB79 #79EB8F
monochromatic
#961ECB #B244E3 #C879EB #DEAEF3 #F4E4FB

Accessibility & contrast

On white

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

On black

7.39
#C879EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879EB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879EB#FFFFFF#000000##000000
##C879EB1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#789BE8
Tritanopia (blue-blind)
#C68AA7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c879eb;
/* rgb */ color: rgb(200, 121, 235);
/* oklch */ color: oklch(70.4% 0.178 314.6);
Tailwind
colors: {
  custom: {
    50: '#dba2f2',
    500: '#c879eb',
    950: '#000000',
  },
}
SCSS
$custom: #c879eb;
$custom-light: #dba2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c879eb",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 281.579,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70426,
    "c": 0.17775,
    "h": 314.6
  },
  "luminance": 0.31952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C879EB

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

Preview Lab → · Contrast checker → · Palette generator →

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