#DA51F2#DA51F2

#DA51F2 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 68.0% C 0.249 H 321.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#DA51F2
RGBrgb(218, 81, 242)
HSLhsl(291, 86%, 63%)
HSVhsv(291, 67%, 95%)
CMYKcmyk(9.9%, 66.5%, 0%, 5.1%)
CIE-LABlab(59.16, 73.87, -55.80)
CIE-LCHlch(59.16, 92.57, 322.93°)
OKLaboklab(68% 0.1948 -0.1558)
OKLCHoklch(68% 0.249 321.3)
XYZxyz(47.8811, 27.2036, 86.7159)
Luminance0.2720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA51F2 #69F251
analogous
#8951F2 #DA51F2 #F251B9
triadic
#DA51F2 #F2DA51 #51F2DA
tetradic
#DA51F2 #F28951 #69F251 #51B9F2
square
#DA51F2 #F28951 #69F251 #51B9F2
split-complementary
#DA51F2 #B9F251 #51F289
monochromatic
#A10EBB #CE18EE #DA51F2 #E68AF6 #F2C3FB

Accessibility & contrast

On white

3.26
#DA51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#DA51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA51F2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA51F2#FFFFFF#000000##000000
##DA51F21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#6393EE
Tritanopia (blue-blind)
#DC6D9B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #da51f2;
/* rgb */ color: rgb(218, 81, 242);
/* oklch */ color: oklch(68.0% 0.249 321.3);
Tailwind
colors: {
  custom: {
    50: '#e98cf7',
    500: '#da51f2',
    950: '#000000',
  },
}
SCSS
$custom: #da51f2;
$custom-light: #e98cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#da51f2",
  "rgb": {
    "r": 218,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 291.056,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68,
    "c": 0.2494,
    "h": 321.3
  },
  "luminance": 0.27201
}

Semantic roles & 50–950 ramp

primary
#DA51F2
secondary
#BBECB3
accent
#E30324
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #DA51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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