#DE7BEF#DE7BEF

#DE7BEF is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.189 H 321.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#DE7BEF
RGBrgb(222, 123, 239)
HSLhsl(291, 78%, 71%)
HSVhsv(291, 49%, 94%)
CMYKcmyk(7.1%, 48.5%, 0%, 6.3%)
CIE-LABlab(66.47, 55.53, -42.55)
CIE-LCHlch(66.47, 69.96, 322.54°)
OKLaboklab(73.39% 0.1482 -0.1175)
OKLCHoklch(73.39% 0.189 321.6)
XYZxyz(52.7854, 35.9297, 85.7993)
Luminance0.3593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7BEF #8CEF7B
analogous
#A47BEF #DE7BEF #EF7BC6
triadic
#DE7BEF #EFDE7B #7BEFDE
tetradic
#DE7BEF #EFA47B #8CEF7B #7BC6EF
square
#DE7BEF #EFA47B #8CEF7B #7BC6EF
split-complementary
#DE7BEF #C6EF7B #7BEFA4
monochromatic
#BA1AD6 #D044E8 #DE7BEF #ECB2F6 #F8E4FC

Accessibility & contrast

On white

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

On black

8.19
#DE7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7BEF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7BEF#FFFFFF#000000##000000
##DE7BEF1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF3
Deuteranopia (green-blind)
#87A5EC
Tritanopia (blue-blind)
#E08AAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7bef;
/* rgb */ color: rgb(222, 123, 239);
/* oklch */ color: oklch(73.4% 0.189 321.6);
Tailwind
colors: {
  custom: {
    50: '#eaa4f4',
    500: '#de7bef',
    950: '#000000',
  },
}
SCSS
$custom: #de7bef;
$custom-light: #eaa4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#de7bef",
  "rgb": {
    "r": 222,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 291.207,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73392,
    "c": 0.18915,
    "h": 321.6
  },
  "luminance": 0.35928
}

Semantic roles & 50–950 ramp

primary
#DE7BEF
secondary
#D8F2D3
accent
#DB0B29
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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