#DE7DFB#DE7DFB

#DE7DFB is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.3% C 0.198 H 318.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#DE7DFB
RGBrgb(222, 125, 251)
HSLhsl(286, 94%, 74%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(11.6%, 50.2%, 0%, 1.6%)
CIE-LABlab(67.40, 56.84, -47.67)
CIE-LCHlch(67.40, 74.19, 320.01°)
OKLaboklab(74.26% 0.147 -0.1323)
OKLCHoklch(74.26% 0.198 318)
XYZxyz(54.8680, 37.1638, 95.5312)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7DFB #9AFB7D
analogous
#9F7DFB #DE7DFB #FB7DD9
triadic
#DE7DFB #FBDE7D #7DFBDE
tetradic
#DE7DFB #FB9F7D #9AFB7D #7DD9FB
square
#DE7DFB #FB9F7D #9AFB7D #7DD9FB
split-complementary
#DE7DFB #D9FB7D #7DFB9F
monochromatic
#BF08F6 #CF42F9 #DE7DFB #EDB8FD #F7E1FE

Accessibility & contrast

On white

2.49
#DE7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#DE7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7DFB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7DFB#FFFFFF#000000##000000
##DE7DFB1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#DE8FB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de7dfb;
/* rgb */ color: rgb(222, 125, 251);
/* oklch */ color: oklch(74.3% 0.198 318.0);
Tailwind
colors: {
  custom: {
    50: '#eba6fd',
    500: '#de7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #de7dfb;
$custom-light: #eba6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de7dfb",
  "rgb": {
    "r": 222,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 286.19,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74264,
    "c": 0.19783,
    "h": 318
  },
  "luminance": 0.37162
}

Semantic roles & 50–950 ramp

primary
#DE7DFB
secondary
#DCF6D5
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DE7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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