#D251F8#D251F8

#D251F8 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.3% C 0.251 H 317.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#D251F8
RGBrgb(210, 81, 248)
HSLhsl(286, 92%, 65%)
HSVhsv(286, 67%, 97%)
CMYKcmyk(15.3%, 67.3%, 0%, 2.7%)
CIE-LABlab(58.38, 73.26, -60.44)
CIE-LCHlch(58.38, 94.97, 320.48°)
OKLaboklab(67.32% 0.1854 -0.1696)
OKLCHoklch(67.32% 0.251 317.6)
XYZxyz(46.4616, 26.3658, 91.4305)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251F8 #77F851
analogous
#7E51F8 #D251F8 #F851CB
triadic
#D251F8 #F8D251 #51F8D2
tetradic
#D251F8 #F87E51 #77F851 #51CBF8
square
#D251F8 #F87E51 #77F851 #51CBF8
split-complementary
#D251F8 #CBF851 #51F87E
monochromatic
#9B08C7 #C316F6 #D251F8 #E18CFA #F0C7FD

Accessibility & contrast

On white

3.35
#D251F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#D251F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251F8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251F8#FFFFFF#000000##000000
##D251F81.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#D1719F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d251f8;
/* rgb */ color: rgb(210, 81, 248);
/* oklch */ color: oklch(67.3% 0.251 317.6);
Tailwind
colors: {
  custom: {
    50: '#e48bfb',
    500: '#d251f8',
    950: '#000000',
  },
}
SCSS
$custom: #d251f8;
$custom-light: #e48bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d251f8",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 248
  },
  "hsl": {
    "h": 286.347,
    "s": 92.265,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.25129,
    "h": 317.6
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#D251F8
secondary
#C3EFB6
accent
#E60034
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D251F8

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

Preview Lab → · Contrast checker → · Palette generator →

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