#DA7EEB#DA7EEB

#DA7EEB is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.2% C 0.178 H 321.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#DA7EEB
RGBrgb(218, 126, 235)
HSLhsl(291, 73%, 71%)
HSVhsv(291, 46%, 92%)
CMYKcmyk(7.2%, 46.4%, 0%, 7.8%)
CIE-LABlab(66.39, 52.16, -40.50)
CIE-LCHlch(66.39, 66.03, 322.17°)
OKLaboklab(73.17% 0.139 -0.1117)
OKLCHoklch(73.17% 0.178 321.2)
XYZxyz(51.3680, 35.8273, 82.7907)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7EEB #8FEB7E
analogous
#A37EEB #DA7EEB #EB7EC5
triadic
#DA7EEB #EBDA7E #7EEBDA
tetradic
#DA7EEB #EBA37E #8FEB7E #7EC5EB
square
#DA7EEB #EBA37E #8FEB7E #7EC5EB
split-complementary
#DA7EEB #C5EB7E #7EEBA3
monochromatic
#B320CF #CB49E3 #DA7EEB #E9B3F3 #F7E5FB

Accessibility & contrast

On white

2.57
#DA7EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#DA7EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7EEB
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7EEB#FFFFFF#000000##000000
##DA7EEB1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#DC8CAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #da7eeb;
/* rgb */ color: rgb(218, 126, 235);
/* oklch */ color: oklch(73.2% 0.178 321.2);
Tailwind
colors: {
  custom: {
    50: '#e7a6f2',
    500: '#da7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #da7eeb;
$custom-light: #e7a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#da7eeb",
  "rgb": {
    "r": 218,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 290.642,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73173,
    "c": 0.1783,
    "h": 321.2
  },
  "luminance": 0.35825
}

Semantic roles & 50–950 ramp

primary
#DA7EEB
secondary
#D8F1D4
accent
#D5102F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DA7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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