#DE7DEB#DE7DEB

#DE7DEB is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.5% C 0.182 H 322.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#DE7DEB
RGBrgb(222, 125, 235)
HSLhsl(293, 73%, 71%)
HSVhsv(293, 47%, 92%)
CMYKcmyk(5.5%, 46.8%, 0%, 7.8%)
CIE-LABlab(66.67, 53.78, -40.02)
CIE-LCHlch(66.67, 67.04, 323.35°)
OKLaboklab(73.49% 0.1449 -0.1103)
OKLCHoklch(73.49% 0.182 322.7)
XYZxyz(52.4517, 36.1973, 82.8050)
Luminance0.3619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7DEB #8AEB7D
analogous
#A77DEB #DE7DEB #EB7DC1
triadic
#DE7DEB #EBDE7D #7DEBDE
tetradic
#DE7DEB #EBA77D #8AEB7D #7DC1EB
square
#DE7DEB #EBA77D #8AEB7D #7DC1EB
split-complementary
#DE7DEB #C1EB7D #7DEBA7
monochromatic
#B920CE #D148E3 #DE7DEB #EBB2F3 #F8E4FB

Accessibility & contrast

On white

2.55
#DE7DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#DE7DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7DEB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7DEB#FFFFFF#000000##000000
##DE7DEB1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#E18BA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7deb;
/* rgb */ color: rgb(222, 125, 235);
/* oklch */ color: oklch(73.5% 0.182 322.7);
Tailwind
colors: {
  custom: {
    50: '#eaa5f2',
    500: '#de7deb',
    950: '#000000',
  },
}
SCSS
$custom: #de7deb;
$custom-light: #eaa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#de7deb",
  "rgb": {
    "r": 222,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 292.909,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73485,
    "c": 0.18208,
    "h": 322.7
  },
  "luminance": 0.36195
}

Semantic roles & 50–950 ramp

primary
#DE7DEB
secondary
#D6F1D3
accent
#D51027
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DE7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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