#C868E4#C868E4

#C868E4 is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.6% C 0.197 H 318.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#C868E4
RGBrgb(200, 104, 228)
HSLhsl(286, 70%, 65%)
HSVhsv(286, 54%, 89%)
CMYKcmyk(12.3%, 54.4%, 0%, 10.6%)
CIE-LABlab(59.69, 56.90, -47.29)
CIE-LCHlch(59.69, 73.98, 320.27°)
OKLaboklab(67.65% 0.1468 -0.1316)
OKLCHoklch(67.65% 0.197 318.1)
XYZxyz(42.7714, 27.7830, 76.4934)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C868E4 #84E468
analogous
#8A68E4 #C868E4 #E468C2
triadic
#C868E4 #E4C868 #68E4C8
tetradic
#C868E4 #E48A68 #84E468 #68C2E4
square
#C868E4 #E48A68 #84E468 #68C2E4
split-complementary
#C868E4 #C2E468 #68E48A
monochromatic
#9120B2 #B534DB #C868E4 #DB9CED #EED0F7

Accessibility & contrast

On white

3.20
#C868E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#C868E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C868E4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C868E4#FFFFFF#000000##000000
##C868E41.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E8
Deuteranopia (green-blind)
#6E93E1
Tritanopia (blue-blind)
#C87B9C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c868e4;
/* rgb */ color: rgb(200, 104, 228);
/* oklch */ color: oklch(67.6% 0.197 318.1);
Tailwind
colors: {
  custom: {
    50: '#db97ed',
    500: '#c868e4',
    950: '#000000',
  },
}
SCSS
$custom: #c868e4;
$custom-light: #db97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c868e4",
  "rgb": {
    "r": 200,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 286.452,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67648,
    "c": 0.19715,
    "h": 318.1
  },
  "luminance": 0.27781
}

Semantic roles & 50–950 ramp

primary
#C868E4
secondary
#C8E9BF
accent
#D2143F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C868E4

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

Preview Lab → · Contrast checker → · Palette generator →

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