#C874DC#C874DC

#C874DC is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.9% C 0.170 H 319.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C874DC
RGBrgb(200, 116, 220)
HSLhsl(288, 60%, 66%)
HSVhsv(288, 47%, 86%)
CMYKcmyk(9.1%, 47.3%, 0%, 13.7%)
CIE-LABlab(61.60, 49.29, -39.81)
CIE-LCHlch(61.60, 63.36, 321.08°)
OKLaboklab(68.93% 0.1297 -0.1101)
OKLCHoklch(68.93% 0.17 319.7)
XYZxyz(42.9814, 29.9390, 71.2110)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874DC #88DC74
analogous
#9474DC #C874DC #DC74BC
triadic
#C874DC #DCC874 #74DCC8
tetradic
#C874DC #DC9474 #88DC74 #74BCDC
square
#C874DC #DC9474 #88DC74 #74BCDC
split-complementary
#C874DC #BCDC74 #74DC94
monochromatic
#922BAB #B543D0 #C874DC #DBA5E8 #EFD6F5

Accessibility & contrast

On white

3.01
#C874DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C874DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C874DC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874DC#FFFFFF#000000##000000
##C874DC1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#7B98D9
Tritanopia (blue-blind)
#C9829E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c874dc;
/* rgb */ color: rgb(200, 116, 220);
/* oklch */ color: oklch(68.9% 0.170 319.7);
Tailwind
colors: {
  custom: {
    50: '#db9ee7',
    500: '#c874dc',
    950: '#000000',
  },
}
SCSS
$custom: #c874dc;
$custom-light: #db9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#c874dc",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 288.462,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.17011,
    "h": 319.7
  },
  "luminance": 0.29937
}

Semantic roles & 50–950 ramp

primary
#C874DC
secondary
#CBE7C5
accent
#C71E3F
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C874DC

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

Preview Lab → · Contrast checker → · Palette generator →

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