#D251F2#D251F2

#D251F2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 67.0% C 0.246 H 319.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#D251F2
RGBrgb(210, 81, 242)
HSLhsl(288, 86%, 63%)
HSVhsv(288, 67%, 95%)
CMYKcmyk(13.2%, 66.5%, 0%, 5.1%)
CIE-LABlab(58.04, 72.14, -57.66)
CIE-LCHlch(58.04, 92.35, 321.37°)
OKLaboklab(66.96% 0.1857 -0.1615)
OKLCHoklch(66.96% 0.246 319)
XYZxyz(45.5457, 25.9994, 86.6065)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251F2 #71F251
analogous
#8251F2 #D251F2 #F251C1
triadic
#D251F2 #F2D251 #51F2D2
tetradic
#D251F2 #F28251 #71F251 #51C1F2
square
#D251F2 #F28251 #71F251 #51C1F2
split-complementary
#D251F2 #C1F251 #51F282
monochromatic
#980EBB #C318EE #D251F2 #E18AF6 #EFC3FB

Accessibility & contrast

On white

3.39
#D251F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#D251F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251F2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251F2#FFFFFF#000000##000000
##D251F21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0983F7
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#D26E9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d251f2;
/* rgb */ color: rgb(210, 81, 242);
/* oklch */ color: oklch(67.0% 0.246 319.0);
Tailwind
colors: {
  custom: {
    50: '#e48bf7',
    500: '#d251f2',
    950: '#000000',
  },
}
SCSS
$custom: #d251f2;
$custom-light: #e48bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d251f2",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 288.075,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66963,
    "c": 0.24608,
    "h": 319
  },
  "luminance": 0.25997
}

Semantic roles & 50–950 ramp

primary
#D251F2
secondary
#BEECB3
accent
#E3032F
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D251F2

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

Preview Lab → · Contrast checker → · Palette generator →

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