#DA40E5#DA40E5

#DA40E5 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.7% C 0.258 H 325.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#DA40E5
RGBrgb(218, 64, 229)
HSLhsl(296, 76%, 57%)
HSVhsv(296, 72%, 90%)
CMYKcmyk(4.8%, 72.1%, 0%, 10.2%)
CIE-LABlab(56.32, 77.65, -53.05)
CIE-LCHlch(56.32, 94.05, 325.66°)
OKLaboklab(65.73% 0.2115 -0.1477)
OKLCHoklch(65.73% 0.258 325.1)
XYZxyz(44.8886, 24.2323, 76.4265)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA40E5 #4BE540
analogous
#8840E5 #DA40E5 #E5409E
triadic
#DA40E5 #E5DA40 #40E5DA
tetradic
#DA40E5 #E58840 #4BE540 #409EE5
square
#DA40E5 #E58840 #4BE540 #409EE5
split-complementary
#DA40E5 #9EE540 #40E588
monochromatic
#8E1496 #C01CCC #DA40E5 #E476EC #EFACF4

Accessibility & contrast

On white

3.59
#DA40E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#DA40E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA40E5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA40E5#FFFFFF#000000##000000
##DA40E51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#017BEA
Deuteranopia (green-blind)
#628DE1
Tritanopia (blue-blind)
#DF5D90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #da40e5;
/* rgb */ color: rgb(218, 64, 229);
/* oklch */ color: oklch(65.7% 0.258 325.1);
Tailwind
colors: {
  custom: {
    50: '#ea83ee',
    500: '#da40e5',
    950: '#000000',
  },
}
SCSS
$custom: #da40e5;
$custom-light: #ea83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#da40e5",
  "rgb": {
    "r": 218,
    "g": 64,
    "b": 229
  },
  "hsl": {
    "h": 296,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65732,
    "c": 0.25796,
    "h": 325.1
  },
  "luminance": 0.24229
}

Semantic roles & 50–950 ramp

primary
#DA40E5
secondary
#A4E29F
accent
#F33542
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DA40E5

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

Preview Lab → · Contrast checker → · Palette generator →

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