#DE7DFD#DE7DFD

#DE7DFD is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.4% C 0.200 H 317.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#DE7DFD
RGBrgb(222, 125, 253)
HSLhsl(285, 97%, 74%)
HSVhsv(285, 51%, 99%)
CMYKcmyk(12.3%, 50.6%, 0%, 0.8%)
CIE-LABlab(67.49, 57.23, -48.62)
CIE-LCHlch(67.49, 75.10, 319.65°)
OKLaboklab(74.37% 0.1473 -0.1351)
OKLCHoklch(74.37% 0.2 317.5)
XYZxyz(55.1849, 37.2906, 97.2003)
Luminance0.3729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7DFD #9CFD7D
analogous
#9E7DFD #DE7DFD #FD7DDC
triadic
#DE7DFD #FDDE7D #7DFDDE
tetradic
#DE7DFD #FD9E7D #9CFD7D #7DDCFD
square
#DE7DFD #FD9E7D #9CFD7D #7DDCFD
split-complementary
#DE7DFD #DCFD7D #7DFD9E
monochromatic
#BF04FB #CF41FC #DE7DFD #EDB9FE #F7E1FF

Accessibility & contrast

On white

2.48
#DE7DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#DE7DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7DFD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7DFD#FFFFFF#000000##000000
##DE7DFD1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#DD90B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de7dfd;
/* rgb */ color: rgb(222, 125, 253);
/* oklch */ color: oklch(74.4% 0.200 317.5);
Tailwind
colors: {
  custom: {
    50: '#eba6fe',
    500: '#de7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #de7dfd;
$custom-light: #eba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de7dfd",
  "rgb": {
    "r": 222,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 285.469,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74365,
    "c": 0.19984,
    "h": 317.5
  },
  "luminance": 0.37289
}

Semantic roles & 50–950 ramp

primary
#DE7DFD
secondary
#DDF7D4
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DE7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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