#DE7EFD#DE7EFD

#DE7EFD is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.5% C 0.198 H 317.4°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#DE7EFD
RGBrgb(222, 126, 253)
HSLhsl(285, 97%, 74%)
HSVhsv(285, 50%, 99%)
CMYKcmyk(12.3%, 50.2%, 0%, 0.8%)
CIE-LABlab(67.68, 56.74, -48.32)
CIE-LCHlch(67.68, 74.52, 319.58°)
OKLaboklab(74.51% 0.1459 -0.1342)
OKLCHoklch(74.51% 0.198 317.4)
XYZxyz(55.3122, 37.5450, 97.2427)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7EFD #9DFD7E
analogous
#9F7EFD #DE7EFD #FD7EDD
triadic
#DE7EFD #FDDE7E #7EFDDE
tetradic
#DE7EFD #FD9F7E #9DFD7E #7EDDFD
square
#DE7EFD #FD9F7E #9DFD7E #7EDDFD
split-complementary
#DE7EFD #DDFD7E #7EFD9F
monochromatic
#BF05FB #CF42FC #DE7EFD #EDBAFE #F7E1FF

Accessibility & contrast

On white

2.47
#DE7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#DE7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7EFD
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7EFD#FFFFFF#000000##000000
##DE7EFD1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#DD91B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #de7efd;
/* rgb */ color: rgb(222, 126, 253);
/* oklch */ color: oklch(74.5% 0.198 317.4);
Tailwind
colors: {
  custom: {
    50: '#eba6fe',
    500: '#de7efd',
    950: '#000000',
  },
}
SCSS
$custom: #de7efd;
$custom-light: #eba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de7efd",
  "rgb": {
    "r": 222,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 285.354,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74505,
    "c": 0.19828,
    "h": 317.4
  },
  "luminance": 0.37543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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