#DA40CA#DA40CA

#DA40CA is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.3% C 0.238 H 332.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DA40CA
RGBrgb(218, 64, 202)
HSLhsl(306, 68%, 55%)
HSVhsv(306, 71%, 85%)
CMYKcmyk(0%, 70.6%, 7.3%, 14.5%)
CIE-LABlab(54.91, 73.41, -39.96)
CIE-LCHlch(54.91, 83.58, 331.44°)
OKLaboklab(64.26% 0.2112 -0.1097)
OKLCHoklch(64.26% 0.238 332.5)
XYZxyz(41.4076, 22.8399, 58.0933)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA40CA #40DA50
analogous
#9D40DA #DA40CA #DA407D
triadic
#DA40CA #CADA40 #40CADA
tetradic
#DA40CA #DA9D40 #40DA50 #407DDA
square
#DA40CA #DA9D40 #40DA50 #407DDA
split-complementary
#DA40CA #7DDA40 #40DA9D
monochromatic
#861A7A #B924A9 #DA40CA #E473D8 #EEA7E6

Accessibility & contrast

On white

3.77
#DA40CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DA40CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA40CA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA40CA#FFFFFF#000000##000000
##DA40CA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#728BC6
Tritanopia (blue-blind)
#E35081
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #da40ca;
/* rgb */ color: rgb(218, 64, 202);
/* oklch */ color: oklch(64.3% 0.238 332.5);
Tailwind
colors: {
  custom: {
    50: '#e982da',
    500: '#da40ca',
    950: '#000000',
  },
}
SCSS
$custom: #da40ca;
$custom-light: #e982da;
$custom-dark: #000000;
JSON
{
  "hex": "#da40ca",
  "rgb": {
    "r": 218,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 306.234,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.64263,
    "c": 0.23795,
    "h": 332.5
  },
  "luminance": 0.22836
}

Semantic roles & 50–950 ramp

primary
#DA40CA
secondary
#9BDBA1
accent
#EA4F3D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DA40CA

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

Preview Lab → · Contrast checker → · Palette generator →

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