#D151CB#D151CB

#D151CB is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.213 H 329.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D151CB
RGBrgb(209, 81, 203)
HSLhsl(303, 58%, 57%)
HSVhsv(303, 61%, 82%)
CMYKcmyk(0%, 61.2%, 2.9%, 18%)
CIE-LABlab(55.84, 65.08, -39.16)
CIE-LCHlch(55.84, 75.95, 328.97°)
OKLaboklab(64.69% 0.1836 -0.1077)
OKLCHoklch(64.69% 0.213 329.6)
XYZxyz(40.0161, 23.7547, 58.9658)
Luminance0.2375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151CB #51D157
analogous
#9751D1 #D151CB #D1518B
triadic
#D151CB #CBD151 #51CBD1
tetradic
#D151CB #D19751 #51D157 #518BD1
square
#D151CB #D19751 #51D157 #518BD1
split-complementary
#D151CB #8BD151 #51D197
monochromatic
#852380 #B530AF #D151CB #DE81D9 #EBB2E8

Accessibility & contrast

On white

3.65
#D151CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#D151CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151CB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151CB#FFFFFF#000000##000000
##D151CB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#D85F87
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d151cb;
/* rgb */ color: rgb(209, 81, 203);
/* oklch */ color: oklch(64.7% 0.213 329.6);
Tailwind
colors: {
  custom: {
    50: '#e28adb',
    500: '#d151cb',
    950: '#000000',
  },
}
SCSS
$custom: #d151cb;
$custom-light: #e28adb;
$custom-dark: #000000;
JSON
{
  "hex": "#d151cb",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 302.813,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64685,
    "c": 0.21286,
    "h": 329.6
  },
  "luminance": 0.23752
}

Semantic roles & 50–950 ramp

primary
#D151CB
secondary
#A5D9A7
accent
#E14E46
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D151CB

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

Preview Lab → · Contrast checker → · Palette generator →

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