#D251D4#D251D4

#D251D4 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.3% C 0.221 H 327.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#D251D4
RGBrgb(210, 81, 212)
HSLhsl(299, 60%, 57%)
HSVhsv(299, 62%, 83%)
CMYKcmyk(0.9%, 61.8%, 0%, 16.9%)
CIE-LABlab(56.43, 66.83, -43.34)
CIE-LCHlch(56.43, 79.66, 327.03°)
OKLaboklab(65.28% 0.1853 -0.1198)
OKLCHoklch(65.28% 0.221 327.1)
XYZxyz(41.4038, 24.3426, 64.7924)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251D4 #53D451
analogous
#9151D4 #D251D4 #D45194
triadic
#D251D4 #D4D251 #51D4D2
tetradic
#D251D4 #D49151 #53D451 #5194D4
square
#D251D4 #D49151 #53D451 #5194D4
split-complementary
#D251D4 #94D451 #51D491
monochromatic
#872289 #B82EBA #D251D4 #DF82E0 #EBB3EC

Accessibility & contrast

On white

3.58
#D251D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#D251D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251D4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251D4#FFFFFF#000000##000000
##D251D41.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DD8
Deuteranopia (green-blind)
#6F8DD0
Tritanopia (blue-blind)
#D8628B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d251d4;
/* rgb */ color: rgb(210, 81, 212);
/* oklch */ color: oklch(65.3% 0.221 327.1);
Tailwind
colors: {
  custom: {
    50: '#e38ae2',
    500: '#d251d4',
    950: '#000000',
  },
}
SCSS
$custom: #d251d4;
$custom-light: #e38ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#d251d4",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 299.084,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65284,
    "c": 0.22069,
    "h": 327.1
  },
  "luminance": 0.2434
}

Semantic roles & 50–950 ramp

primary
#D251D4
secondary
#A7DBA6
accent
#E44447
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D251D4

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

Preview Lab → · Contrast checker → · Palette generator →

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