#DA40D9#DA40D9

#DA40D9 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 65.1% C 0.249 H 328.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#DA40D9
RGBrgb(218, 64, 217)
HSLhsl(300, 68%, 55%)
HSVhsv(300, 71%, 85%)
CMYKcmyk(0%, 70.6%, 0.5%, 14.5%)
CIE-LABlab(55.67, 75.72, -47.31)
CIE-LCHlch(55.67, 89.28, 328.00°)
OKLaboklab(65.06% 0.2117 -0.131)
OKLCHoklch(65.06% 0.249 328.3)
XYZxyz(43.2707, 23.5851, 67.9055)
Luminance0.2358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA40D9 #40DA41
analogous
#8E40DA #DA40D9 #DA408C
triadic
#DA40D9 #D9DA40 #40D9DA
tetradic
#DA40D9 #DA8E40 #40DA41 #408CDA
square
#DA40D9 #DA8E40 #40DA41 #408CDA
split-complementary
#DA40D9 #8CDA40 #40DA8E
monochromatic
#861A85 #B924B8 #DA40D9 #E473E3 #EEA7ED

Accessibility & contrast

On white

3.67
#DA40D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#DA40D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA40D9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA40D9#FFFFFF#000000##000000
##DA40D91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2578DD
Deuteranopia (green-blind)
#6A8CD5
Tritanopia (blue-blind)
#E15789
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #da40d9;
/* rgb */ color: rgb(218, 64, 217);
/* oklch */ color: oklch(65.1% 0.249 328.3);
Tailwind
colors: {
  custom: {
    50: '#e983e5',
    500: '#da40d9',
    950: '#000000',
  },
}
SCSS
$custom: #da40d9;
$custom-light: #e983e5;
$custom-dark: #000000;
JSON
{
  "hex": "#da40d9",
  "rgb": {
    "r": 218,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 300.39,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.65058,
    "c": 0.2489,
    "h": 328.3
  },
  "luminance": 0.23582
}

Semantic roles & 50–950 ramp

primary
#DA40D9
secondary
#9BDB9B
accent
#EA3E3D
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DA40D9

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

Preview Lab → · Contrast checker → · Palette generator →

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