#DA40D4#DA40D4

#DA40D4 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.8% C 0.245 H 329.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#DA40D4
RGBrgb(218, 64, 212)
HSLhsl(302, 68%, 55%)
HSVhsv(302, 71%, 85%)
CMYKcmyk(0%, 70.6%, 2.8%, 14.5%)
CIE-LABlab(55.41, 74.93, -44.88)
CIE-LCHlch(55.41, 87.34, 329.08°)
OKLaboklab(64.79% 0.2116 -0.1239)
OKLCHoklch(64.79% 0.245 329.6)
XYZxyz(42.6302, 23.3289, 64.5322)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA40D4 #40DA46
analogous
#9340DA #DA40D4 #DA4087
triadic
#DA40D4 #D4DA40 #40D4DA
tetradic
#DA40D4 #DA9340 #40DA46 #4087DA
square
#DA40D4 #DA9340 #40DA46 #4087DA
split-complementary
#DA40D4 #87DA40 #40DA93
monochromatic
#861A81 #B924B3 #DA40D4 #E473E0 #EEA7EB

Accessibility & contrast

On white

3.71
#DA40D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#DA40D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA40D4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA40D4#FFFFFF#000000##000000
##DA40D41.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D8
Deuteranopia (green-blind)
#6D8CD0
Tritanopia (blue-blind)
#E25586
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #da40d4;
/* rgb */ color: rgb(218, 64, 212);
/* oklch */ color: oklch(64.8% 0.245 329.6);
Tailwind
colors: {
  custom: {
    50: '#e983e2',
    500: '#da40d4',
    950: '#000000',
  },
}
SCSS
$custom: #da40d4;
$custom-light: #e983e2;
$custom-dark: #000000;
JSON
{
  "hex": "#da40d4",
  "rgb": {
    "r": 218,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 302.338,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.64787,
    "c": 0.2452,
    "h": 329.6
  },
  "luminance": 0.23326
}

Semantic roles & 50–950 ramp

primary
#DA40D4
secondary
#9BDB9D
accent
#EA443D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DA40D4

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

Preview Lab → · Contrast checker → · Palette generator →

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