#DA40C9#DA40C9

#DA40C9 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.2% C 0.237 H 332.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#DA40C9
RGBrgb(218, 64, 201)
HSLhsl(307, 68%, 55%)
HSVhsv(307, 71%, 85%)
CMYKcmyk(0%, 70.6%, 7.8%, 14.5%)
CIE-LABlab(54.86, 73.26, -39.46)
CIE-LCHlch(54.86, 83.21, 331.69°)
OKLaboklab(64.21% 0.2111 -0.1083)
OKLCHoklch(64.21% 0.237 332.8)
XYZxyz(41.2896, 22.7927, 57.4718)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA40C9 #40DA51
analogous
#9E40DA #DA40C9 #DA407C
triadic
#DA40C9 #C9DA40 #40C9DA
tetradic
#DA40C9 #DA9E40 #40DA51 #407CDA
square
#DA40C9 #DA9E40 #40DA51 #407CDA
split-complementary
#DA40C9 #7CDA40 #40DA9E
monochromatic
#861A7A #B924A9 #DA40C9 #E473D7 #EEA7E6

Accessibility & contrast

On white

3.78
#DA40C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#DA40C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA40C9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA40C9#FFFFFF#000000##000000
##DA40C91.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3975CD
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#E34F80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #da40c9;
/* rgb */ color: rgb(218, 64, 201);
/* oklch */ color: oklch(64.2% 0.237 332.8);
Tailwind
colors: {
  custom: {
    50: '#e982da',
    500: '#da40c9',
    950: '#000000',
  },
}
SCSS
$custom: #da40c9;
$custom-light: #e982da;
$custom-dark: #000000;
JSON
{
  "hex": "#da40c9",
  "rgb": {
    "r": 218,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 306.623,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.23724,
    "h": 332.8
  },
  "luminance": 0.22789
}

Semantic roles & 50–950 ramp

primary
#DA40C9
secondary
#9BDBA2
accent
#EA503D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C15
muted
#857D83

Preview Lab

Preview with #DA40C9

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

Preview Lab → · Contrast checker → · Palette generator →

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