#C870EA#C870EA

#C870EA is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.1% C 0.191 H 315.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#C870EA
RGBrgb(200, 112, 234)
HSLhsl(283, 74%, 68%)
HSVhsv(283, 52%, 92%)
CMYKcmyk(14.5%, 52.1%, 0%, 8.2%)
CIE-LABlab(61.49, 54.13, -47.79)
CIE-LCHlch(61.49, 72.21, 318.56°)
OKLaboklab(69.07% 0.1368 -0.1331)
OKLCHoklch(69.07% 0.191 315.8)
XYZxyz(44.4626, 29.8096, 81.2376)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C870EA #92EA70
analogous
#8B70EA #C870EA #EA70CF
triadic
#C870EA #EAC870 #70EAC8
tetradic
#C870EA #EA8B70 #92EA70 #70CFEA
square
#C870EA #EA8B70 #92EA70 #70CFEA
split-complementary
#C870EA #CFEA70 #70EA8B
monochromatic
#951DC3 #B33BE2 #C870EA #DDA5F2 #F1DBFA

Accessibility & contrast

On white

3.02
#C870EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#C870EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C870EA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C870EA#FFFFFF#000000##000000
##C870EA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#C683A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c870ea;
/* rgb */ color: rgb(200, 112, 234);
/* oklch */ color: oklch(69.1% 0.191 315.8);
Tailwind
colors: {
  custom: {
    50: '#db9cf1',
    500: '#c870ea',
    950: '#000000',
  },
}
SCSS
$custom: #c870ea;
$custom-light: #db9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c870ea",
  "rgb": {
    "r": 200,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 283.279,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69068,
    "c": 0.19092,
    "h": 315.8
  },
  "luminance": 0.29808
}

Semantic roles & 50–950 ramp

primary
#C870EA
secondary
#D3EEC8
accent
#D70F47
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C870EA

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

Preview Lab → · Contrast checker → · Palette generator →

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