#DE7AFC#DE7AFC

#DE7AFC is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 73.9% C 0.203 H 317.9°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#DE7AFC
RGBrgb(222, 122, 252)
HSLhsl(286, 96%, 73%)
HSVhsv(286, 52%, 99%)
CMYKcmyk(11.9%, 51.6%, 0%, 1.2%)
CIE-LABlab(66.88, 58.52, -49.03)
CIE-LCHlch(66.88, 76.34, 320.04°)
OKLaboklab(73.9% 0.1511 -0.1363)
OKLCHoklch(73.9% 0.203 317.9)
XYZxyz(54.6520, 36.4789, 96.2389)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AFC #98FC7A
analogous
#9D7AFC #DE7AFC #FC7AD9
triadic
#DE7AFC #FCDE7A #7AFCDE
tetradic
#DE7AFC #FC9D7A #98FC7A #7AD9FC
square
#DE7AFC #FC9D7A #98FC7A #7AD9FC
split-complementary
#DE7AFC #D9FC7A #7AFC9D
monochromatic
#BF06F6 #CF3EFB #DE7AFC #EDB6FD #F8E1FE

Accessibility & contrast

On white

2.53
#DE7AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#DE7AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AFC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AFC#FFFFFF#000000##000000
##DE7AFC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#DE8DB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7afc;
/* rgb */ color: rgb(222, 122, 252);
/* oklch */ color: oklch(73.9% 0.203 317.9);
Tailwind
colors: {
  custom: {
    50: '#eba4fe',
    500: '#de7afc',
    950: '#000000',
  },
}
SCSS
$custom: #de7afc;
$custom-light: #eba4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de7afc",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 286.154,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73899,
    "c": 0.20346,
    "h": 317.9
  },
  "luminance": 0.36477
}

Semantic roles & 50–950 ramp

primary
#DE7AFC
secondary
#DCF7D4
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DE7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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