#D151DB#D151DB

#D151DB is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.226 H 324.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D151DB
RGBrgb(209, 81, 219)
HSLhsl(296, 66%, 59%)
HSVhsv(296, 63%, 86%)
CMYKcmyk(4.6%, 63%, 0%, 14.1%)
CIE-LABlab(56.64, 67.80, -46.98)
CIE-LCHlch(56.64, 82.48, 325.28°)
OKLaboklab(65.53% 0.1846 -0.1304)
OKLCHoklch(65.53% 0.226 324.8)
XYZxyz(42.0221, 24.5571, 69.5307)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151DB #5BDB51
analogous
#8C51DB #D151DB #DB51A0
triadic
#D151DB #DBD151 #51DBD1
tetradic
#D151DB #DB8C51 #5BDB51 #51A0DB
square
#D151DB #DB8C51 #5BDB51 #51A0DB
split-complementary
#D151DB #A0DB51 #51DB8C
monochromatic
#8B1E93 #BA29C6 #D151DB #DE84E5 #ECB6F0

Accessibility & contrast

On white

3.55
#D151DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D151DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151DB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151DB#FFFFFF#000000##000000
##D151DB1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#6A8DD7
Tritanopia (blue-blind)
#D5658F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d151db;
/* rgb */ color: rgb(209, 81, 219);
/* oklch */ color: oklch(65.5% 0.226 324.8);
Tailwind
colors: {
  custom: {
    50: '#e28ae7',
    500: '#d151db',
    950: '#000000',
  },
}
SCSS
$custom: #d151db;
$custom-light: #e28ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#d151db",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 295.652,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.22599,
    "h": 324.8
  },
  "luminance": 0.24555
}

Semantic roles & 50–950 ramp

primary
#D151DB
secondary
#ADDFA9
accent
#E93F4B
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D151DB

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

Preview Lab → · Contrast checker → · Palette generator →

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