#DA40CB#DA40CB

#DA40CB is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.3% C 0.239 H 332.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#DA40CB
RGBrgb(218, 64, 203)
HSLhsl(306, 68%, 55%)
HSVhsv(306, 71%, 85%)
CMYKcmyk(0%, 70.6%, 6.9%, 14.5%)
CIE-LABlab(54.96, 73.56, -40.45)
CIE-LCHlch(54.96, 83.95, 331.19°)
OKLaboklab(64.31% 0.2112 -0.1111)
OKLCHoklch(64.31% 0.239 332.2)
XYZxyz(41.5264, 22.8874, 58.7189)
Luminance0.2288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA40CB #40DA4F
analogous
#9C40DA #DA40CB #DA407E
triadic
#DA40CB #CBDA40 #40CBDA
tetradic
#DA40CB #DA9C40 #40DA4F #407EDA
square
#DA40CB #DA9C40 #40DA4F #407EDA
split-complementary
#DA40CB #7EDA40 #40DA9C
monochromatic
#861A7B #B924AA #DA40CB #E473D9 #EEA7E7

Accessibility & contrast

On white

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

On black

5.58
#DA40CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA40CB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA40CB#FFFFFF#000000##000000
##DA40CB1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776CF
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#E35081
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #da40cb;
/* rgb */ color: rgb(218, 64, 203);
/* oklch */ color: oklch(64.3% 0.239 332.2);
Tailwind
colors: {
  custom: {
    50: '#e983db',
    500: '#da40cb',
    950: '#000000',
  },
}
SCSS
$custom: #da40cb;
$custom-light: #e983db;
$custom-dark: #000000;
JSON
{
  "hex": "#da40cb",
  "rgb": {
    "r": 218,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 305.844,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.64314,
    "c": 0.23867,
    "h": 332.2
  },
  "luminance": 0.22884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DA40CB

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

Preview Lab → · Contrast checker → · Palette generator →

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