#C874EC#C874EC

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

Color values

HEX#C874EC
RGBrgb(200, 116, 236)
HSLhsl(282, 76%, 69%)
HSVhsv(282, 51%, 93%)
CMYKcmyk(15.3%, 50.8%, 0%, 7.5%)
CIE-LABlab(62.36, 52.52, -47.53)
CIE-LCHlch(62.36, 70.83, 317.86°)
OKLaboklab(69.74% 0.1317 -0.1324)
OKLCHoklch(69.74% 0.187 314.9)
XYZxyz(45.2027, 30.8276, 82.9098)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874EC #98EC74
analogous
#8C74EC #C874EC #EC74D4
triadic
#C874EC #ECC874 #74ECC8
tetradic
#C874EC #EC8C74 #98EC74 #74D4EC
square
#C874EC #EC8C74 #98EC74 #74D4EC
split-complementary
#C874EC #D4EC74 #74EC8C
monochromatic
#961CCA #B33EE5 #C874EC #DDAAF3 #F3E0FB

Accessibility & contrast

On white

2.93
#C874EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C874EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874EC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874EC#FFFFFF#000000##000000
##C874EC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#C687A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c874ec;
/* rgb */ color: rgb(200, 116, 236);
/* oklch */ color: oklch(69.7% 0.187 314.9);
Tailwind
colors: {
  custom: {
    50: '#db9ff2',
    500: '#c874ec',
    950: '#000000',
  },
}
SCSS
$custom: #c874ec;
$custom-light: #db9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c874ec",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 282,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69744,
    "c": 0.18675,
    "h": 314.9
  },
  "luminance": 0.30826
}

Semantic roles & 50–950 ramp

primary
#C874EC
secondary
#D7EFCC
accent
#D80D4A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C874EC

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

Preview Lab → · Contrast checker → · Palette generator →

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