#DE7EFB#DE7EFB

#DE7EFB is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.196 H 317.9°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#DE7EFB
RGBrgb(222, 126, 251)
HSLhsl(286, 94%, 74%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(11.6%, 49.8%, 0%, 1.6%)
CIE-LABlab(67.59, 56.34, -47.37)
CIE-LCHlch(67.59, 73.61, 319.94°)
OKLaboklab(74.4% 0.1457 -0.1315)
OKLCHoklch(74.4% 0.196 317.9)
XYZxyz(54.9952, 37.4183, 95.5736)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7EFB #9BFB7E
analogous
#A07EFB #DE7EFB #FB7EDA
triadic
#DE7EFB #FBDE7E #7EFBDE
tetradic
#DE7EFB #FBA07E #9BFB7E #7EDAFB
square
#DE7EFB #FBA07E #9BFB7E #7EDAFB
split-complementary
#DE7EFB #DAFB7E #7EFBA0
monochromatic
#BF08F7 #CF43F9 #DE7EFB #EDB9FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.48
#DE7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7EFB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7EFB#FFFFFF#000000##000000
##DE7EFB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#DE90B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #de7efb;
/* rgb */ color: rgb(222, 126, 251);
/* oklch */ color: oklch(74.4% 0.196 317.9);
Tailwind
colors: {
  custom: {
    50: '#eaa6fd',
    500: '#de7efb',
    950: '#000000',
  },
}
SCSS
$custom: #de7efb;
$custom-light: #eaa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de7efb",
  "rgb": {
    "r": 222,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 286.08,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74404,
    "c": 0.19627,
    "h": 317.9
  },
  "luminance": 0.37416
}

Semantic roles & 50–950 ramp

primary
#DE7EFB
secondary
#DDF6D5
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DE7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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