#D451DB#D451DB

#D451DB is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.9% C 0.227 H 325.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#D451DB
RGBrgb(212, 81, 219)
HSLhsl(297, 66%, 59%)
HSVhsv(297, 63%, 86%)
CMYKcmyk(3.2%, 63%, 0%, 14.1%)
CIE-LABlab(57.07, 68.50, -46.27)
CIE-LCHlch(57.07, 82.66, 325.96°)
OKLaboklab(65.93% 0.1879 -0.1282)
OKLCHoklch(65.93% 0.227 325.7)
XYZxyz(42.8791, 24.9990, 69.5709)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451DB #58DB51
analogous
#8F51DB #D451DB #DB519D
triadic
#D451DB #DBD451 #51DBD4
tetradic
#D451DB #DB8F51 #58DB51 #519DDB
square
#D451DB #DB8F51 #58DB51 #519DDB
split-complementary
#D451DB #9DDB51 #51DB8F
monochromatic
#8D1E93 #BE29C6 #D451DB #E184E5 #EDB6F0

Accessibility & contrast

On white

3.50
#D451DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#D451DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451DB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451DB#FFFFFF#000000##000000
##D451DB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d451db;
/* rgb */ color: rgb(212, 81, 219);
/* oklch */ color: oklch(65.9% 0.227 325.7);
Tailwind
colors: {
  custom: {
    50: '#e58be7',
    500: '#d451db',
    950: '#000000',
  },
}
SCSS
$custom: #d451db;
$custom-light: #e58be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d451db",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 296.957,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65925,
    "c": 0.22747,
    "h": 325.7
  },
  "luminance": 0.24996
}

Semantic roles & 50–950 ramp

primary
#D451DB
secondary
#ABDFA9
accent
#E93F48
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D451DB

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

Preview Lab → · Contrast checker → · Palette generator →

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