#C874EE#C874EE

#C874EE is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.8% C 0.189 H 314.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C874EE
RGBrgb(200, 116, 238)
HSLhsl(281, 78%, 69%)
HSVhsv(281, 51%, 93%)
CMYKcmyk(16%, 51.3%, 0%, 6.7%)
CIE-LABlab(62.46, 52.93, -48.48)
CIE-LCHlch(62.46, 71.77, 317.51°)
OKLaboklab(69.85% 0.1319 -0.1352)
OKLCHoklch(69.85% 0.189 314.3)
XYZxyz(45.4949, 30.9444, 84.4486)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874EE #9AEE74
analogous
#8B74EE #C874EE #EE74D7
triadic
#C874EE #EEC874 #74EEC8
tetradic
#C874EE #EE8B74 #9AEE74 #74D7EE
square
#C874EE #EE8B74 #9AEE74 #74D7EE
split-complementary
#C874EE #D7EE74 #74EE8B
monochromatic
#9619CE #B23DE7 #C874EE #DEABF5 #F3E1FB

Accessibility & contrast

On white

2.92
#C874EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C874EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874EE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874EE#FFFFFF#000000##000000
##C874EE1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F2
Deuteranopia (green-blind)
#7299EB
Tritanopia (blue-blind)
#C587A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c874ee;
/* rgb */ color: rgb(200, 116, 238);
/* oklch */ color: oklch(69.8% 0.189 314.3);
Tailwind
colors: {
  custom: {
    50: '#db9ff4',
    500: '#c874ee',
    950: '#000000',
  },
}
SCSS
$custom: #c874ee;
$custom-light: #db9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#c874ee",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 281.311,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69849,
    "c": 0.18886,
    "h": 314.3
  },
  "luminance": 0.30943
}

Semantic roles & 50–950 ramp

primary
#C874EE
secondary
#D8F0CD
accent
#DA0B4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C874EE

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

Preview Lab → · Contrast checker → · Palette generator →

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