#D151CF#D151CF

#D151CF is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.216 H 328.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D151CF
RGBrgb(209, 81, 207)
HSLhsl(301, 58%, 57%)
HSVhsv(301, 61%, 82%)
CMYKcmyk(0%, 61.2%, 1%, 18%)
CIE-LABlab(56.04, 65.75, -41.13)
CIE-LCHlch(56.04, 77.55, 327.97°)
OKLaboklab(64.89% 0.1839 -0.1134)
OKLCHoklch(64.89% 0.216 328.3)
XYZxyz(40.4989, 23.9479, 61.5087)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151CF #51D153
analogous
#9351D1 #D151CF #D1518F
triadic
#D151CF #CFD151 #51CFD1
tetradic
#D151CF #D19351 #51D153 #518FD1
square
#D151CF #D19351 #51D153 #518FD1
split-complementary
#D151CF #8FD151 #51D193
monochromatic
#852383 #B530B3 #D151CF #DE81DC #EBB2EA

Accessibility & contrast

On white

3.63
#D151CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D151CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151CF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151CF#FFFFFF#000000##000000
##D151CF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#708CCC
Tritanopia (blue-blind)
#D76189
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d151cf;
/* rgb */ color: rgb(209, 81, 207);
/* oklch */ color: oklch(64.9% 0.216 328.3);
Tailwind
colors: {
  custom: {
    50: '#e28ade',
    500: '#d151cf',
    950: '#000000',
  },
}
SCSS
$custom: #d151cf;
$custom-light: #e28ade;
$custom-dark: #000000;
JSON
{
  "hex": "#d151cf",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 300.938,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64889,
    "c": 0.21609,
    "h": 328.3
  },
  "luminance": 0.23945
}

Semantic roles & 50–950 ramp

primary
#D151CF
secondary
#A5D9A6
accent
#E14946
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D151CF

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

Preview Lab → · Contrast checker → · Palette generator →

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