#DE7FE4#DE7FE4

#DE7FE4 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.172 H 325.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#DE7FE4
RGBrgb(222, 127, 228)
HSLhsl(296, 65%, 70%)
HSVhsv(296, 44%, 89%)
CMYKcmyk(2.6%, 44.3%, 0%, 10.6%)
CIE-LABlab(66.76, 51.48, -36.01)
CIE-LCHlch(66.76, 62.83, 325.02°)
OKLaboklab(73.45% 0.1409 -0.0988)
OKLCHoklch(73.45% 0.172 325)
XYZxyz(51.7159, 36.3121, 77.6686)
Luminance0.3631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7FE4 #85E47F
analogous
#AC7FE4 #DE7FE4 #E47FB7
triadic
#DE7FE4 #E4DE7F #7FE4DE
tetradic
#DE7FE4 #E4AC7F #85E47F #7FB7E4
square
#DE7FE4 #E4AC7F #85E47F #7FB7E4
split-complementary
#DE7FE4 #B7E47F #7FE4AC
monochromatic
#B729C0 #D14CD9 #DE7FE4 #EBB2EF #F8E4F9

Accessibility & contrast

On white

2.54
#DE7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#DE7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7FE4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7FE4#FFFFFF#000000##000000
##DE7FE41.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE8
Deuteranopia (green-blind)
#8FA7E1
Tritanopia (blue-blind)
#E28AA7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7fe4;
/* rgb */ color: rgb(222, 127, 228);
/* oklch */ color: oklch(73.5% 0.172 325.0);
Tailwind
colors: {
  custom: {
    50: '#eaa7ed',
    500: '#de7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #de7fe4;
$custom-light: #eaa7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#de7fe4",
  "rgb": {
    "r": 222,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 296.436,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73452,
    "c": 0.17212,
    "h": 325
  },
  "luminance": 0.3631
}

Semantic roles & 50–950 ramp

primary
#DE7FE4
secondary
#D3EED1
accent
#CD1923
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DE7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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