#D251F0#D251F0

#D251F0 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.8% C 0.244 H 319.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D251F0
RGBrgb(210, 81, 240)
HSLhsl(289, 84%, 63%)
HSVhsv(289, 66%, 94%)
CMYKcmyk(12.5%, 66.3%, 0%, 5.9%)
CIE-LABlab(57.92, 71.78, -56.73)
CIE-LCHlch(57.92, 91.49, 321.68°)
OKLaboklab(66.85% 0.1858 -0.1587)
OKLCHoklch(66.85% 0.244 319.5)
XYZxyz(45.2469, 25.8799, 85.0331)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251F0 #6FF051
analogous
#8251F0 #D251F0 #F051BF
triadic
#D251F0 #F0D251 #51F0D2
tetradic
#D251F0 #F08251 #6FF051 #51BFF0
square
#D251F0 #F08251 #6FF051 #51BFF0
split-complementary
#D251F0 #BFF051 #51F082
monochromatic
#9710B7 #C319EB #D251F0 #E189F5 #EFC2FA

Accessibility & contrast

On white

3.40
#D251F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D251F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251F0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251F0#FFFFFF#000000##000000
##D251F01.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1282F5
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#D26E9A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d251f0;
/* rgb */ color: rgb(210, 81, 240);
/* oklch */ color: oklch(66.8% 0.244 319.5);
Tailwind
colors: {
  custom: {
    50: '#e48bf6',
    500: '#d251f0',
    950: '#000000',
  },
}
SCSS
$custom: #d251f0;
$custom-light: #e48bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d251f0",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 288.679,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66845,
    "c": 0.24435,
    "h": 319.5
  },
  "luminance": 0.25878
}

Semantic roles & 50–950 ramp

primary
#D251F0
secondary
#BDEBB2
accent
#E1052E
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D251F0

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

Preview Lab → · Contrast checker → · Palette generator →

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