#D252DB#D252DB

#D252DB is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.225 H 325.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D252DB
RGBrgb(210, 82, 219)
HSLhsl(296, 66%, 59%)
HSVhsv(296, 63%, 86%)
CMYKcmyk(4.1%, 62.6%, 0%, 14.1%)
CIE-LABlab(56.93, 67.62, -46.51)
CIE-LCHlch(56.93, 82.08, 325.48°)
OKLaboklab(65.76% 0.1846 -0.129)
OKLCHoklch(65.76% 0.225 325.1)
XYZxyz(42.3808, 24.8532, 69.5690)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252DB #5BDB52
analogous
#8E52DB #D252DB #DB52A0
triadic
#D252DB #DBD252 #52DBD2
tetradic
#D252DB #DB8E52 #5BDB52 #52A0DB
square
#D252DB #DB8E52 #5BDB52 #52A0DB
split-complementary
#D252DB #A0DB52 #52DB8E
monochromatic
#8C1F94 #BC29C6 #D252DB #DF85E6 #ECB7F0

Accessibility & contrast

On white

3.52
#D252DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D252DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252DB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252DB#FFFFFF#000000##000000
##D252DB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDF
Deuteranopia (green-blind)
#6B8ED7
Tritanopia (blue-blind)
#D7668F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d252db;
/* rgb */ color: rgb(210, 82, 219);
/* oklch */ color: oklch(65.8% 0.225 325.1);
Tailwind
colors: {
  custom: {
    50: '#e38be7',
    500: '#d252db',
    950: '#000000',
  },
}
SCSS
$custom: #d252db;
$custom-light: #e38be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d252db",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 296.058,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65764,
    "c": 0.22517,
    "h": 325.1
  },
  "luminance": 0.24851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D252DB

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

Preview Lab → · Contrast checker → · Palette generator →

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