#D251D7#D251D7

#D251D7 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.223 H 326.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D251D7
RGBrgb(210, 81, 215)
HSLhsl(298, 63%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(2.3%, 62.3%, 0%, 15.7%)
CIE-LABlab(56.58, 67.34, -44.81)
CIE-LCHlch(56.58, 80.89, 326.36°)
OKLaboklab(65.44% 0.1855 -0.124)
OKLCHoklch(65.44% 0.223 326.2)
XYZxyz(41.7857, 24.4954, 66.8040)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251D7 #56D751
analogous
#8F51D7 #D251D7 #D75199
triadic
#D251D7 #D7D251 #51D7D2
tetradic
#D251D7 #D78F51 #56D751 #5199D7
square
#D251D7 #D78F51 #56D751 #5199D7
split-complementary
#D251D7 #99D751 #51D78F
monochromatic
#89208D #B92CBF #D251D7 #DF83E2 #ECB5EE

Accessibility & contrast

On white

3.56
#D251D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D251D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251D7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251D7#FFFFFF#000000##000000
##D251D71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDB
Deuteranopia (green-blind)
#6D8DD3
Tritanopia (blue-blind)
#D7648D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d251d7;
/* rgb */ color: rgb(210, 81, 215);
/* oklch */ color: oklch(65.4% 0.223 326.2);
Tailwind
colors: {
  custom: {
    50: '#e38ae4',
    500: '#d251d7',
    950: '#000000',
  },
}
SCSS
$custom: #d251d7;
$custom-light: #e38ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d251d7",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 297.761,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65443,
    "c": 0.22316,
    "h": 326.2
  },
  "luminance": 0.24493
}

Semantic roles & 50–950 ramp

primary
#D251D7
secondary
#A9DDA7
accent
#E64248
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D251D7

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

Preview Lab → · Contrast checker → · Palette generator →

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