#D851F2#D851F2

#D851F2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.7% C 0.249 H 320.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#D851F2
RGBrgb(216, 81, 242)
HSLhsl(290, 86%, 63%)
HSVhsv(290, 67%, 95%)
CMYKcmyk(10.7%, 66.5%, 0%, 5.1%)
CIE-LABlab(58.88, 73.44, -56.26)
CIE-LCHlch(58.88, 92.51, 322.54°)
OKLaboklab(67.74% 0.1925 -0.1572)
OKLCHoklch(67.74% 0.249 320.8)
XYZxyz(47.2865, 26.8970, 86.6881)
Luminance0.2690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851F2 #6BF251
analogous
#8851F2 #D851F2 #F251BB
triadic
#D851F2 #F2D851 #51F2D8
tetradic
#D851F2 #F28851 #6BF251 #51BBF2
square
#D851F2 #F28851 #6BF251 #51BBF2
split-complementary
#D851F2 #BBF251 #51F288
monochromatic
#9F0EBB #CB18EE #D851F2 #E58AF6 #F2C3FB

Accessibility & contrast

On white

3.29
#D851F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#D851F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851F2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851F2#FFFFFF#000000##000000
##D851F21.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1884F7
Deuteranopia (green-blind)
#6193EE
Tritanopia (blue-blind)
#D96D9B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d851f2;
/* rgb */ color: rgb(216, 81, 242);
/* oklch */ color: oklch(67.7% 0.249 320.8);
Tailwind
colors: {
  custom: {
    50: '#e88cf7',
    500: '#d851f2',
    950: '#000000',
  },
}
SCSS
$custom: #d851f2;
$custom-light: #e88cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d851f2",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 290.311,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67739,
    "c": 0.24856,
    "h": 320.8
  },
  "luminance": 0.26895
}

Semantic roles & 50–950 ramp

primary
#D851F2
secondary
#BCECB3
accent
#E30327
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D851F2

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

Preview Lab → · Contrast checker → · Palette generator →

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