#C874EA#C874EA

#C874EA is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.6% C 0.185 H 315.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C874EA
RGBrgb(200, 116, 234)
HSLhsl(283, 74%, 69%)
HSVhsv(283, 50%, 92%)
CMYKcmyk(14.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(62.26, 52.11, -46.57)
CIE-LCHlch(62.26, 69.88, 318.21°)
OKLaboklab(69.64% 0.1315 -0.1296)
OKLCHoklch(69.64% 0.185 315.4)
XYZxyz(44.9138, 30.7120, 81.3880)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874EA #96EA74
analogous
#8D74EA #C874EA #EA74D1
triadic
#C874EA #EAC874 #74EAC8
tetradic
#C874EA #EA8D74 #96EA74 #74D1EA
square
#C874EA #EA8D74 #96EA74 #74D1EA
split-complementary
#C874EA #D1EA74 #74EA8D
monochromatic
#951EC6 #B33FE2 #C874EA #DDA9F2 #F2DEFA

Accessibility & contrast

On white

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

On black

7.14
#C874EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874EA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874EA#FFFFFF#000000##000000
##C874EA1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#C686A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c874ea;
/* rgb */ color: rgb(200, 116, 234);
/* oklch */ color: oklch(69.6% 0.185 315.4);
Tailwind
colors: {
  custom: {
    50: '#db9ff1',
    500: '#c874ea',
    950: '#000000',
  },
}
SCSS
$custom: #c874ea;
$custom-light: #db9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#c874ea",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 282.712,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69639,
    "c": 0.18464,
    "h": 315.4
  },
  "luminance": 0.30711
}

Semantic roles & 50–950 ramp

primary
#C874EA
secondary
#D5EFCB
accent
#D61049
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C874EA

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

Preview Lab → · Contrast checker → · Palette generator →

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