#D251F9#D251F9

#D251F9 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.4% C 0.252 H 317.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D251F9
RGBrgb(210, 81, 249)
HSLhsl(286, 93%, 65%)
HSVhsv(286, 67%, 98%)
CMYKcmyk(15.7%, 67.5%, 0%, 2.4%)
CIE-LABlab(58.44, 73.44, -60.90)
CIE-LCHlch(58.44, 95.41, 320.33°)
OKLaboklab(67.38% 0.1854 -0.1709)
OKLCHoklch(67.38% 0.252 317.3)
XYZxyz(46.6172, 26.4280, 92.2497)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251F9 #78F951
analogous
#7E51F9 #D251F9 #F951CC
triadic
#D251F9 #F9D251 #51F9D2
tetradic
#D251F9 #F97E51 #78F951 #51CCF9
square
#D251F9 #F97E51 #78F951 #51CCF9
split-complementary
#D251F9 #CCF951 #51F97E
monochromatic
#9C07C9 #C316F7 #D251F9 #E18CFB #F1C7FD

Accessibility & contrast

On white

3.34
#D251F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D251F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251F9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251F9#FFFFFF#000000##000000
##D251F91.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#D0719F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d251f9;
/* rgb */ color: rgb(210, 81, 249);
/* oklch */ color: oklch(67.4% 0.252 317.3);
Tailwind
colors: {
  custom: {
    50: '#e48bfc',
    500: '#d251f9',
    950: '#000000',
  },
}
SCSS
$custom: #d251f9;
$custom-light: #e48bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d251f9",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 249
  },
  "hsl": {
    "h": 286.071,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67383,
    "c": 0.25217,
    "h": 317.3
  },
  "luminance": 0.26426
}

Semantic roles & 50–950 ramp

primary
#D251F9
secondary
#C3F0B6
accent
#E60035
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D251F9

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

Preview Lab → · Contrast checker → · Palette generator →

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