#DA7EEA#DA7EEA

#DA7EEA is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.177 H 321.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#DA7EEA
RGBrgb(218, 126, 234)
HSLhsl(291, 72%, 71%)
HSVhsv(291, 46%, 92%)
CMYKcmyk(6.8%, 46.2%, 0%, 8.2%)
CIE-LABlab(66.34, 51.96, -40.01)
CIE-LCHlch(66.34, 65.59, 322.40°)
OKLaboklab(73.13% 0.1388 -0.1103)
OKLCHoklch(73.13% 0.177 321.5)
XYZxyz(51.2239, 35.7697, 82.0320)
Luminance0.3577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7EEA #8EEA7E
analogous
#A47EEA #DA7EEA #EA7EC4
triadic
#DA7EEA #EADA7E #7EEADA
tetradic
#DA7EEA #EAA47E #8EEA7E #7EC4EA
square
#DA7EEA #EAA47E #8EEA7E #7EC4EA
split-complementary
#DA7EEA #C4EA7E #7EEAA4
monochromatic
#B321CC #CB49E1 #DA7EEA #E9B3F3 #F7E5FB

Accessibility & contrast

On white

2.58
#DA7EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#DA7EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7EEA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7EEA#FFFFFF#000000##000000
##DA7EEA1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#89A5E7
Tritanopia (blue-blind)
#DC8CA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #da7eea;
/* rgb */ color: rgb(218, 126, 234);
/* oklch */ color: oklch(73.1% 0.177 321.5);
Tailwind
colors: {
  custom: {
    50: '#e7a6f1',
    500: '#da7eea',
    950: '#000000',
  },
}
SCSS
$custom: #da7eea;
$custom-light: #e7a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#da7eea",
  "rgb": {
    "r": 218,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 291.111,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73125,
    "c": 0.17731,
    "h": 321.5
  },
  "luminance": 0.35768
}

Semantic roles & 50–950 ramp

primary
#DA7EEA
secondary
#D8F1D3
accent
#D4112E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DA7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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