#DA31D1#DA31D1

#DA31D1 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.5% C 0.257 H 330.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#DA31D1
RGBrgb(218, 49, 209)
HSLhsl(303, 70%, 52%)
HSVhsv(303, 78%, 85%)
CMYKcmyk(0%, 77.5%, 4.1%, 14.5%)
CIE-LABlab(53.72, 78.88, -45.85)
CIE-LCHlch(53.72, 91.24, 329.83°)
OKLaboklab(63.53% 0.2242 -0.1266)
OKLCHoklch(63.53% 0.257 330.5)
XYZxyz(41.5203, 21.7089, 62.3127)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA31D1 #31DA3A
analogous
#8E31DA #DA31D1 #DA317D
triadic
#DA31D1 #D1DA31 #31D1DA
tetradic
#DA31D1 #DA8E31 #31DA3A #317DDA
square
#DA31D1 #DA8E31 #31DA3A #317DDA
split-complementary
#DA31D1 #7DDA31 #31DA8E
monochromatic
#7B1675 #AE1FA7 #DA31D1 #E365DD #ED99E8

Accessibility & contrast

On white

3.93
#DA31D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#DA31D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA31D1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA31D1#FFFFFF#000000##000000
##DA31D11.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1772D5
Deuteranopia (green-blind)
#6888CD
Tritanopia (blue-blind)
#E24A81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #da31d1;
/* rgb */ color: rgb(218, 49, 209);
/* oklch */ color: oklch(63.5% 0.257 330.5);
Tailwind
colors: {
  custom: {
    50: '#ea7ddf',
    500: '#da31d1',
    950: '#000000',
  },
}
SCSS
$custom: #da31d1;
$custom-light: #ea7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#da31d1",
  "rgb": {
    "r": 218,
    "g": 49,
    "b": 209
  },
  "hsl": {
    "h": 303.195,
    "s": 69.547,
    "l": 52.353
  },
  "oklch": {
    "l": 0.63525,
    "c": 0.25748,
    "h": 330.5
  },
  "luminance": 0.21706
}

Semantic roles & 50–950 ramp

primary
#DA31D1
secondary
#8FD893
accent
#EC453B
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #DA31D1

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

Preview Lab → · Contrast checker → · Palette generator →

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