#C874DA#C874DA

#C874DA is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.8% C 0.168 H 320.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C874DA
RGBrgb(200, 116, 218)
HSLhsl(289, 58%, 65%)
HSVhsv(289, 47%, 85%)
CMYKcmyk(8.3%, 46.8%, 0%, 14.5%)
CIE-LABlab(61.51, 48.90, -38.83)
CIE-LCHlch(61.51, 62.44, 321.55°)
OKLaboklab(68.84% 0.1294 -0.1072)
OKLCHoklch(68.84% 0.168 320.4)
XYZxyz(42.7182, 29.8337, 69.8243)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874DA #86DA74
analogous
#9574DA #C874DA #DA74B9
triadic
#C874DA #DAC874 #74DAC8
tetradic
#C874DA #DA9574 #86DA74 #74B9DA
square
#C874DA #DA9574 #86DA74 #74B9DA
split-complementary
#C874DA #B9DA74 #74DA95
monochromatic
#912CA7 #B544CD #C874DA #DBA4E7 #EED5F4

Accessibility & contrast

On white

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

On black

6.97
#C874DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C874DA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874DA#FFFFFF#000000##000000
##C874DA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDE
Deuteranopia (green-blind)
#7C98D7
Tritanopia (blue-blind)
#C9819D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c874da;
/* rgb */ color: rgb(200, 116, 218);
/* oklch */ color: oklch(68.8% 0.168 320.4);
Tailwind
colors: {
  custom: {
    50: '#da9ee6',
    500: '#c874da',
    950: '#000000',
  },
}
SCSS
$custom: #c874da;
$custom-light: #da9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#c874da",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 289.412,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68835,
    "c": 0.16807,
    "h": 320.4
  },
  "luminance": 0.29832
}

Semantic roles & 50–950 ramp

primary
#C874DA
secondary
#CAE6C4
accent
#C6203D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C874DA

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

Preview Lab → · Contrast checker → · Palette generator →

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