#DA40FE#DA40FE

#DA40FE is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 67.2% C 0.277 H 319.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#DA40FE
RGBrgb(218, 64, 254)
HSLhsl(289, 99%, 62%)
HSVhsv(289, 75%, 100%)
CMYKcmyk(14.2%, 74.8%, 0%, 0.4%)
CIE-LABlab(57.78, 81.90, -64.67)
CIE-LCHlch(57.78, 104.35, 321.70°)
OKLaboklab(67.24% 0.2097 -0.1816)
OKLCHoklch(67.24% 0.277 319.1)
XYZxyz(48.6339, 25.7304, 96.1514)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA40FE #64FE40
analogous
#7B40FE #DA40FE #FE40C3
triadic
#DA40FE #FEDA40 #40FEDA
tetradic
#DA40FE #FE7B40 #64FE40 #40C3FE
square
#DA40FE #FE7B40 #64FE40 #40C3FE
split-complementary
#DA40FE #C3FE40 #40FE7B
monochromatic
#9E01C3 #CE03FE #DA40FE #E67DFE #F2BAFF

Accessibility & contrast

On white

3.42
#DA40FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#DA40FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA40FE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA40FE#FFFFFF#000000##000000
##DA40FE1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#DA689E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #da40fe;
/* rgb */ color: rgb(218, 64, 254);
/* oklch */ color: oklch(67.2% 0.277 319.1);
Tailwind
colors: {
  custom: {
    50: '#ea84ff',
    500: '#da40fe',
    950: '#000000',
  },
}
SCSS
$custom: #da40fe;
$custom-light: #ea84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#da40fe",
  "rgb": {
    "r": 218,
    "g": 64,
    "b": 254
  },
  "hsl": {
    "h": 288.632,
    "s": 98.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67238,
    "c": 0.27743,
    "h": 319.1
  },
  "luminance": 0.25728
}

Semantic roles & 50–950 ramp

primary
#DA40FE
secondary
#B7F0AA
accent
#E6002B
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#170C18
muted
#857D86

Preview Lab

Preview with #DA40FE

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

Preview Lab → · Contrast checker → · Palette generator →

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