#D151C0#D151C0

#D151C0 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.1% C 0.204 H 333.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#D151C0
RGBrgb(209, 81, 192)
HSLhsl(308, 58%, 57%)
HSVhsv(308, 61%, 82%)
CMYKcmyk(0%, 61.2%, 8.1%, 18%)
CIE-LABlab(55.33, 63.31, -33.66)
CIE-LCHlch(55.33, 71.70, 332.00°)
OKLaboklab(64.14% 0.1824 -0.0919)
OKLCHoklch(64.14% 0.204 333.3)
XYZxyz(38.7515, 23.2489, 52.3054)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151C0 #51D162
analogous
#A251D1 #D151C0 #D15180
triadic
#D151C0 #C0D151 #51C0D1
tetradic
#D151C0 #D1A251 #51D162 #5180D1
square
#D151C0 #D1A251 #51D162 #5180D1
split-complementary
#D151C0 #80D151 #51D1A2
monochromatic
#852378 #B530A3 #D151C0 #DE81D2 #EBB2E3

Accessibility & contrast

On white

3.72
#D151C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#D151C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151C0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151C0#FFFFFF#000000##000000
##D151C01.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C3
Deuteranopia (green-blind)
#778BBD
Tritanopia (blue-blind)
#DA5B81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d151c0;
/* rgb */ color: rgb(209, 81, 192);
/* oklch */ color: oklch(64.1% 0.204 333.3);
Tailwind
colors: {
  custom: {
    50: '#e28ad3',
    500: '#d151c0',
    950: '#000000',
  },
}
SCSS
$custom: #d151c0;
$custom-light: #e28ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#d151c0",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 307.969,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64143,
    "c": 0.20425,
    "h": 333.3
  },
  "luminance": 0.23246
}

Semantic roles & 50–950 ramp

primary
#D151C0
secondary
#A5D9AC
accent
#E15B46
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D151C0

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

Preview Lab → · Contrast checker → · Palette generator →

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