#C874EB#C874EB

#C874EB is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.7% C 0.186 H 315.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C874EB
RGBrgb(200, 116, 235)
HSLhsl(282, 75%, 69%)
HSVhsv(282, 51%, 92%)
CMYKcmyk(14.9%, 50.6%, 0%, 7.8%)
CIE-LABlab(62.31, 52.31, -47.05)
CIE-LCHlch(62.31, 70.36, 318.03°)
OKLaboklab(69.69% 0.1316 -0.131)
OKLCHoklch(69.69% 0.186 315.1)
XYZxyz(45.0579, 30.7696, 82.1467)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874EB #97EB74
analogous
#8D74EB #C874EB #EB74D3
triadic
#C874EB #EBC874 #74EBC8
tetradic
#C874EB #EB8D74 #97EB74 #74D3EB
square
#C874EB #EB8D74 #97EB74 #74D3EB
split-complementary
#C874EB #D3EB74 #74EB8D
monochromatic
#961DC8 #B33EE3 #C874EB #DDAAF3 #F2DFFA

Accessibility & contrast

On white

2.94
#C874EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C874EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874EB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874EB#FFFFFF#000000##000000
##C874EB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#C686A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c874eb;
/* rgb */ color: rgb(200, 116, 235);
/* oklch */ color: oklch(69.7% 0.186 315.1);
Tailwind
colors: {
  custom: {
    50: '#db9ff2',
    500: '#c874eb',
    950: '#000000',
  },
}
SCSS
$custom: #c874eb;
$custom-light: #db9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c874eb",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 282.353,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.1857,
    "h": 315.1
  },
  "luminance": 0.30768
}

Semantic roles & 50–950 ramp

primary
#C874EB
secondary
#D6EFCC
accent
#D70F49
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C874EB

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

Preview Lab → · Contrast checker → · Palette generator →

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