#D251DC#D251DC

#D251DC is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.227 H 324.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D251DC
RGBrgb(210, 81, 220)
HSLhsl(296, 67%, 59%)
HSVhsv(296, 63%, 86%)
CMYKcmyk(4.5%, 63.2%, 0%, 13.7%)
CIE-LABlab(56.84, 68.20, -47.23)
CIE-LCHlch(56.84, 82.96, 325.30°)
OKLaboklab(65.71% 0.1857 -0.131)
OKLCHoklch(65.71% 0.227 324.8)
XYZxyz(42.4380, 24.7563, 70.2394)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251DC #5BDC51
analogous
#8D51DC #D251DC #DC51A1
triadic
#D251DC #DCD251 #51DCD2
tetradic
#D251DC #DC8D51 #5BDC51 #51A1DC
square
#D251DC #DC8D51 #5BDC51 #51A1DC
split-complementary
#D251DC #A1DC51 #51DC8D
monochromatic
#8C1E95 #BC28C8 #D251DC #DF84E6 #ECB7F0

Accessibility & contrast

On white

3.53
#D251DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D251DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251DC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251DC#FFFFFF#000000##000000
##D251DC1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#D66690
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d251dc;
/* rgb */ color: rgb(210, 81, 220);
/* oklch */ color: oklch(65.7% 0.227 324.8);
Tailwind
colors: {
  custom: {
    50: '#e38ae7',
    500: '#d251dc',
    950: '#000000',
  },
}
SCSS
$custom: #d251dc;
$custom-light: #e38ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#d251dc",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 295.683,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65712,
    "c": 0.22731,
    "h": 324.8
  },
  "luminance": 0.24754
}

Semantic roles & 50–950 ramp

primary
#D251DC
secondary
#ADE0A9
accent
#E93E4B
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D251DC

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

Preview Lab → · Contrast checker → · Palette generator →

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