#D251E6#D251E6

#D251E6 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.3% C 0.236 H 322.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#D251E6
RGBrgb(210, 81, 230)
HSLhsl(292, 75%, 61%)
HSVhsv(292, 65%, 90%)
CMYKcmyk(8.7%, 64.8%, 0%, 9.8%)
CIE-LABlab(57.37, 69.97, -52.02)
CIE-LCHlch(57.37, 87.18, 323.37°)
OKLaboklab(66.27% 0.1859 -0.145)
OKLCHoklch(66.27% 0.236 322.1)
XYZxyz(43.8022, 25.3020, 77.4241)
Luminance0.2530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251E6 #65E651
analogous
#8751E6 #D251E6 #E651AF
triadic
#D251E6 #E6D251 #51E6D2
tetradic
#D251E6 #E68751 #65E651 #51AFE6
square
#D251E6 #E68751 #65E651 #51AFE6
split-complementary
#D251E6 #AFE651 #51E687
monochromatic
#9218A5 #C11FDA #D251E6 #E087EE #EEBCF5

Accessibility & contrast

On white

3.47
#D251E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#D251E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251E6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251E6#FFFFFF#000000##000000
##D251E61.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980EA
Deuteranopia (green-blind)
#648FE2
Tritanopia (blue-blind)
#D46A95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d251e6;
/* rgb */ color: rgb(210, 81, 230);
/* oklch */ color: oklch(66.3% 0.236 322.1);
Tailwind
colors: {
  custom: {
    50: '#e38bee',
    500: '#d251e6',
    950: '#000000',
  },
}
SCSS
$custom: #d251e6;
$custom-light: #e38bee;
$custom-dark: #000000;
JSON
{
  "hex": "#d251e6",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 291.946,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66267,
    "c": 0.23576,
    "h": 322.1
  },
  "luminance": 0.253
}

Semantic roles & 50–950 ramp

primary
#D251E6
secondary
#B5E5AD
accent
#D70E29
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D251E6

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

Preview Lab → · Contrast checker → · Palette generator →

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