#D051F2#D051F2

#D051F2 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.7% C 0.245 H 318.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#D051F2
RGBrgb(208, 81, 242)
HSLhsl(287, 86%, 63%)
HSVhsv(287, 67%, 95%)
CMYKcmyk(14%, 66.5%, 0%, 5.1%)
CIE-LABlab(57.76, 71.72, -58.12)
CIE-LCHlch(57.76, 92.31, 320.98°)
OKLaboklab(66.71% 0.1834 -0.1629)
OKLCHoklch(66.71% 0.245 318.4)
XYZxyz(44.9797, 25.7075, 86.5799)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051F2 #73F251
analogous
#7F51F2 #D051F2 #F251C3
triadic
#D051F2 #F2D051 #51F2D0
tetradic
#D051F2 #F27F51 #73F251 #51C3F2
square
#D051F2 #F27F51 #73F251 #51C3F2
split-complementary
#D051F2 #C3F251 #51F27F
monochromatic
#960EBB #C118EE #D051F2 #DF8AF6 #EFC3FB

Accessibility & contrast

On white

3.42
#D051F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#D051F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051F2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051F2#FFFFFF#000000##000000
##D051F21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0282F7
Deuteranopia (green-blind)
#598FEE
Tritanopia (blue-blind)
#CF6F9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d051f2;
/* rgb */ color: rgb(208, 81, 242);
/* oklch */ color: oklch(66.7% 0.245 318.4);
Tailwind
colors: {
  custom: {
    50: '#e28bf7',
    500: '#d051f2',
    950: '#000000',
  },
}
SCSS
$custom: #d051f2;
$custom-light: #e28bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d051f2",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 287.329,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66707,
    "c": 0.24527,
    "h": 318.4
  },
  "luminance": 0.25706
}

Semantic roles & 50–950 ramp

primary
#D051F2
secondary
#BFECB3
accent
#E30332
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D051F2

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

Preview Lab → · Contrast checker → · Palette generator →

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