#DE7FEB#DE7FEB

#DE7FEB is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.179 H 322.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DE7FEB
RGBrgb(222, 127, 235)
HSLhsl(293, 73%, 71%)
HSVhsv(293, 46%, 92%)
CMYKcmyk(5.5%, 46%, 0%, 7.8%)
CIE-LABlab(67.06, 52.78, -39.42)
CIE-LCHlch(67.06, 65.87, 323.25°)
OKLaboklab(73.77% 0.1421 -0.1085)
OKLCHoklch(73.77% 0.179 322.6)
XYZxyz(52.7074, 36.7087, 82.8903)
Luminance0.3671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7FEB #8CEB7F
analogous
#A87FEB #DE7FEB #EB7FC2
triadic
#DE7FEB #EBDE7F #7FEBDE
tetradic
#DE7FEB #EBA87F #8CEB7F #7FC2EB
square
#DE7FEB #EBA87F #8CEB7F #7FC2EB
split-complementary
#DE7FEB #C2EB7F #7FEBA8
monochromatic
#BA20CF #D04AE3 #DE7FEB #ECB4F3 #F8E5FB

Accessibility & contrast

On white

2.52
#DE7FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DE7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7FEB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7FEB#FFFFFF#000000##000000
##DE7FEB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#E18CAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7feb;
/* rgb */ color: rgb(222, 127, 235);
/* oklch */ color: oklch(73.8% 0.179 322.6);
Tailwind
colors: {
  custom: {
    50: '#eaa7f2',
    500: '#de7feb',
    950: '#000000',
  },
}
SCSS
$custom: #de7feb;
$custom-light: #eaa7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#de7feb",
  "rgb": {
    "r": 222,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 292.778,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73773,
    "c": 0.17884,
    "h": 322.6
  },
  "luminance": 0.36706
}

Semantic roles & 50–950 ramp

primary
#DE7FEB
secondary
#D8F1D5
accent
#D51028
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DE7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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