#C874EF#C874EF

#C874EF is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.9% C 0.190 H 314.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C874EF
RGBrgb(200, 116, 239)
HSLhsl(281, 79%, 70%)
HSVhsv(281, 51%, 94%)
CMYKcmyk(16.3%, 51.5%, 0%, 6.3%)
CIE-LABlab(62.51, 53.14, -48.95)
CIE-LCHlch(62.51, 72.25, 317.35°)
OKLaboklab(69.9% 0.132 -0.1365)
OKLCHoklch(69.9% 0.19 314)
XYZxyz(45.6422, 31.0034, 85.2245)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874EF #9BEF74
analogous
#8B74EF #C874EF #EF74D8
triadic
#C874EF #EFC874 #74EFC8
tetradic
#C874EF #EF8B74 #9BEF74 #74D8EF
square
#C874EF #EF8B74 #9BEF74 #74D8EF
split-complementary
#C874EF #D8EF74 #74EF8B
monochromatic
#9618D1 #B23DE9 #C874EF #DEABF5 #F3E2FC

Accessibility & contrast

On white

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

On black

7.20
#C874EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874EF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874EF#FFFFFF#000000##000000
##C874EF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#C588A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c874ef;
/* rgb */ color: rgb(200, 116, 239);
/* oklch */ color: oklch(69.9% 0.190 314.0);
Tailwind
colors: {
  custom: {
    50: '#db9ff5',
    500: '#c874ef',
    950: '#000000',
  },
}
SCSS
$custom: #c874ef;
$custom-light: #db9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#c874ef",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 280.976,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69902,
    "c": 0.18991,
    "h": 314
  },
  "luminance": 0.31002
}

Semantic roles & 50–950 ramp

primary
#C874EF
secondary
#D9F1CE
accent
#DC0A4C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C874EF

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

Preview Lab → · Contrast checker → · Palette generator →

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