#C874DB#C874DB

#C874DB is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.9% C 0.169 H 320.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C874DB
RGBrgb(200, 116, 219)
HSLhsl(289, 59%, 66%)
HSVhsv(289, 47%, 86%)
CMYKcmyk(8.7%, 47%, 0%, 14.1%)
CIE-LABlab(61.56, 49.10, -39.32)
CIE-LCHlch(61.56, 62.90, 321.31°)
OKLaboklab(68.88% 0.1296 -0.1086)
OKLCHoklch(68.88% 0.169 320)
XYZxyz(42.8494, 29.8862, 70.5156)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874DB #87DB74
analogous
#9474DB #C874DB #DB74BA
triadic
#C874DB #DBC874 #74DBC8
tetradic
#C874DB #DB9474 #87DB74 #74BADB
square
#C874DB #DB9474 #87DB74 #74BADB
split-complementary
#C874DB #BADB74 #74DB94
monochromatic
#922CA9 #B543CE #C874DB #DBA5E8 #EED5F4

Accessibility & contrast

On white

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

On black

6.98
#C874DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C874DB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874DB#FFFFFF#000000##000000
##C874DB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#C9829D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c874db;
/* rgb */ color: rgb(200, 116, 219);
/* oklch */ color: oklch(68.9% 0.169 320.0);
Tailwind
colors: {
  custom: {
    50: '#db9ee6',
    500: '#c874db',
    950: '#000000',
  },
}
SCSS
$custom: #c874db;
$custom-light: #db9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#c874db",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 288.932,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68884,
    "c": 0.16909,
    "h": 320
  },
  "luminance": 0.29885
}

Semantic roles & 50–950 ramp

primary
#C874DB
secondary
#CBE7C4
accent
#C61F3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C874DB

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

Preview Lab → · Contrast checker → · Palette generator →

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