#D152DB#D152DB

#D152DB is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.225 H 324.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D152DB
RGBrgb(209, 82, 219)
HSLhsl(296, 66%, 59%)
HSVhsv(296, 63%, 86%)
CMYKcmyk(4.6%, 62.6%, 0%, 14.1%)
CIE-LABlab(56.79, 67.39, -46.75)
CIE-LCHlch(56.79, 82.02, 325.25°)
OKLaboklab(65.63% 0.1835 -0.1297)
OKLCHoklch(65.63% 0.225 324.7)
XYZxyz(42.0969, 24.7068, 69.5557)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152DB #5CDB52
analogous
#8D52DB #D152DB #DB52A1
triadic
#D152DB #DBD152 #52DBD1
tetradic
#D152DB #DB8D52 #5CDB52 #52A1DB
square
#D152DB #DB8D52 #5CDB52 #52A1DB
split-complementary
#D152DB #A1DB52 #52DB8D
monochromatic
#8B1F94 #BB29C6 #D152DB #DE85E6 #ECB7F0

Accessibility & contrast

On white

3.53
#D152DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D152DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152DB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152DB#FFFFFF#000000##000000
##D152DB1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#6A8ED7
Tritanopia (blue-blind)
#D5668F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d152db;
/* rgb */ color: rgb(209, 82, 219);
/* oklch */ color: oklch(65.6% 0.225 324.7);
Tailwind
colors: {
  custom: {
    50: '#e28be7',
    500: '#d152db',
    950: '#000000',
  },
}
SCSS
$custom: #d152db;
$custom-light: #e28be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d152db",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 295.62,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65631,
    "c": 0.22468,
    "h": 324.7
  },
  "luminance": 0.24704
}

Semantic roles & 50–950 ramp

primary
#D152DB
secondary
#ADDFAA
accent
#E93F4C
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D152DB

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

Preview Lab → · Contrast checker → · Palette generator →

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