#D251DE#D251DE

#D251DE is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.229 H 324.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D251DE
RGBrgb(210, 81, 222)
HSLhsl(295, 68%, 59%)
HSVhsv(295, 64%, 87%)
CMYKcmyk(5.4%, 63.5%, 0%, 12.9%)
CIE-LABlab(56.94, 68.55, -48.19)
CIE-LCHlch(56.94, 83.80, 324.89°)
OKLaboklab(65.82% 0.1858 -0.1338)
OKLCHoklch(65.82% 0.229 324.2)
XYZxyz(42.7045, 24.8629, 71.6428)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251DE #5DDE51
analogous
#8C51DE #D251DE #DE51A3
triadic
#D251DE #DED251 #51DED2
tetradic
#D251DE #DE8C51 #5DDE51 #51A3DE
square
#D251DE #DE8C51 #5DDE51 #51A3DE
split-complementary
#D251DE #A3DE51 #51DE8C
monochromatic
#8D1D98 #BD27CB #D251DE #DF84E8 #EDB8F2

Accessibility & contrast

On white

3.52
#D251DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D251DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251DE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251DE#FFFFFF#000000##000000
##D251DE1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE2
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#D66691
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d251de;
/* rgb */ color: rgb(210, 81, 222);
/* oklch */ color: oklch(65.8% 0.229 324.2);
Tailwind
colors: {
  custom: {
    50: '#e38ae9',
    500: '#d251de',
    950: '#000000',
  },
}
SCSS
$custom: #d251de;
$custom-light: #e38ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#d251de",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 294.894,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.22899,
    "h": 324.2
  },
  "luminance": 0.2486
}

Semantic roles & 50–950 ramp

primary
#D251DE
secondary
#AFE1AA
accent
#EB3D4C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D251DE

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

Preview Lab → · Contrast checker → · Palette generator →

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