#DE7AEB#DE7AEB

#DE7AEB is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.1% C 0.187 H 322.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#DE7AEB
RGBrgb(222, 122, 235)
HSLhsl(293, 74%, 70%)
HSVhsv(293, 48%, 92%)
CMYKcmyk(5.5%, 48.1%, 0%, 7.8%)
CIE-LABlab(66.10, 55.28, -40.92)
CIE-LCHlch(66.10, 68.77, 323.49°)
OKLaboklab(73.06% 0.149 -0.1128)
OKLCHoklch(73.06% 0.187 322.9)
XYZxyz(52.0776, 35.4491, 82.6804)
Luminance0.3545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AEB #87EB7A
analogous
#A57AEB #DE7AEB #EB7AC0
triadic
#DE7AEB #EBDE7A #7AEBDE
tetradic
#DE7AEB #EBA57A #87EB7A #7AC0EB
square
#DE7AEB #EBA57A #87EB7A #7AC0EB
split-complementary
#DE7AEB #C0EB7A #7AEBA5
monochromatic
#B81FCC #D145E3 #DE7AEB #EBAFF3 #F8E4FB

Accessibility & contrast

On white

2.60
#DE7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#DE7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AEB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AEB#FFFFFF#000000##000000
##DE7AEB1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #de7aeb;
/* rgb */ color: rgb(222, 122, 235);
/* oklch */ color: oklch(73.1% 0.187 322.9);
Tailwind
colors: {
  custom: {
    50: '#eaa4f2',
    500: '#de7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #de7aeb;
$custom-light: #eaa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#de7aeb",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 293.097,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.7306,
    "c": 0.1869,
    "h": 322.9
  },
  "luminance": 0.35447
}

Semantic roles & 50–950 ramp

primary
#DE7AEB
secondary
#D4F0D1
accent
#D61026
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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