#D251DB#D251DB

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

Color values

HEX#D251DB
RGBrgb(210, 81, 219)
HSLhsl(296, 66%, 59%)
HSVhsv(296, 63%, 86%)
CMYKcmyk(4.1%, 63%, 0%, 14.1%)
CIE-LABlab(56.79, 68.03, -46.75)
CIE-LCHlch(56.79, 82.54, 325.51°)
OKLaboklab(65.66% 0.1857 -0.1296)
OKLCHoklch(65.66% 0.226 325.1)
XYZxyz(42.3060, 24.7035, 69.5440)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251DB #5ADB51
analogous
#8D51DB #D251DB #DB519F
triadic
#D251DB #DBD251 #51DBD2
tetradic
#D251DB #DB8D51 #5ADB51 #519FDB
square
#D251DB #DB8D51 #5ADB51 #519FDB
split-complementary
#D251DB #9FDB51 #51DB8D
monochromatic
#8C1E93 #BC29C6 #D251DB #DF84E5 #ECB6F0

Accessibility & contrast

On white

3.54
#D251DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D251DB#FFFFFF#000000##000000
##D251DB1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#6B8ED7
Tritanopia (blue-blind)
#D7658F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d251db;
/* rgb */ color: rgb(210, 81, 219);
/* oklch */ color: oklch(65.7% 0.226 325.1);
Tailwind
colors: {
  custom: {
    50: '#e38ae7',
    500: '#d251db',
    950: '#000000',
  },
}
SCSS
$custom: #d251db;
$custom-light: #e38ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#d251db",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 296.087,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65658,
    "c": 0.22648,
    "h": 325.1
  },
  "luminance": 0.24701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D251DB

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

Preview Lab → · Contrast checker → · Palette generator →

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