#D251D2#D251D2

#D251D2 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.219 H 327.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D251D2
RGBrgb(210, 81, 210)
HSLhsl(300, 59%, 57%)
HSVhsv(300, 61%, 82%)
CMYKcmyk(0%, 61.4%, 0%, 17.6%)
CIE-LABlab(56.33, 66.50, -42.37)
CIE-LCHlch(56.33, 78.84, 327.50°)
OKLaboklab(65.18% 0.1852 -0.117)
OKLCHoklch(65.18% 0.219 327.7)
XYZxyz(41.1530, 24.2423, 63.4719)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251D2 #51D251
analogous
#9251D2 #D251D2 #D25192
triadic
#D251D2 #D2D251 #51D2D2
tetradic
#D251D2 #D29251 #51D251 #5192D2
square
#D251D2 #D29251 #51D251 #5192D2
split-complementary
#D251D2 #92D251 #51D292
monochromatic
#862386 #B72FB7 #D251D2 #DF82DF #EBB2EB

Accessibility & contrast

On white

3.59
#D251D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D251D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251D2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251D2#FFFFFF#000000##000000
##D251D21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#708DCE
Tritanopia (blue-blind)
#D8628A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d251d2;
/* rgb */ color: rgb(210, 81, 210);
/* oklch */ color: oklch(65.2% 0.219 327.7);
Tailwind
colors: {
  custom: {
    50: '#e38ae0',
    500: '#d251d2',
    950: '#000000',
  },
}
SCSS
$custom: #d251d2;
$custom-light: #e38ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#d251d2",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6518,
    "c": 0.21907,
    "h": 327.7
  },
  "luminance": 0.2424
}

Semantic roles & 50–950 ramp

primary
#D251D2
secondary
#A5DAA5
accent
#E24646
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D251D2

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

Preview Lab → · Contrast checker → · Palette generator →

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