#C874DF#C874DF

#C874DF is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.1% C 0.173 H 318.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#C874DF
RGBrgb(200, 116, 223)
HSLhsl(287, 63%, 66%)
HSVhsv(287, 48%, 87%)
CMYKcmyk(10.3%, 48%, 0%, 12.5%)
CIE-LABlab(61.74, 49.89, -41.27)
CIE-LCHlch(61.74, 64.74, 320.40°)
OKLaboklab(69.08% 0.1301 -0.1143)
OKLCHoklch(69.08% 0.173 318.7)
XYZxyz(43.3823, 30.0994, 73.3223)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874DF #8BDF74
analogous
#9374DF #C874DF #DF74C1
triadic
#C874DF #DFC874 #74DFC8
tetradic
#C874DF #DF9374 #8BDF74 #74C1DF
square
#C874DF #DF9374 #8BDF74 #74C1DF
split-complementary
#C874DF #C1DF74 #74DF93
monochromatic
#9329B0 #B442D4 #C874DF #DCA6EA #EFD7F6

Accessibility & contrast

On white

2.99
#C874DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#C874DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874DF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874DF#FFFFFF#000000##000000
##C874DF1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE3
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#C8839F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c874df;
/* rgb */ color: rgb(200, 116, 223);
/* oklch */ color: oklch(69.1% 0.173 318.7);
Tailwind
colors: {
  custom: {
    50: '#db9ee9',
    500: '#c874df',
    950: '#000000',
  },
}
SCSS
$custom: #c874df;
$custom-light: #db9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#c874df",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 287.103,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6908,
    "c": 0.1732,
    "h": 318.7
  },
  "luminance": 0.30098
}

Semantic roles & 50–950 ramp

primary
#C874DF
secondary
#CEE9C6
accent
#CA1B41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C874DF

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

Preview Lab → · Contrast checker → · Palette generator →

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