#DE7DFC#DE7DFC

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

Color values

HEX#DE7DFC
RGBrgb(222, 125, 252)
HSLhsl(286, 95%, 74%)
HSVhsv(286, 50%, 99%)
CMYKcmyk(11.9%, 50.4%, 0%, 1.2%)
CIE-LABlab(67.45, 57.04, -48.15)
CIE-LCHlch(67.45, 74.64, 319.83°)
OKLaboklab(74.31% 0.1472 -0.1337)
OKLCHoklch(74.31% 0.199 317.7)
XYZxyz(55.0260, 37.2270, 96.3635)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7DFC #9BFC7D
analogous
#9F7DFC #DE7DFC #FC7DDB
triadic
#DE7DFC #FCDE7D #7DFCDE
tetradic
#DE7DFC #FC9F7D #9BFC7D #7DDBFC
square
#DE7DFC #FC9F7D #9BFC7D #7DDBFC
split-complementary
#DE7DFC #DBFC7D #7DFC9F
monochromatic
#BF06F9 #CF41FB #DE7DFC #EDB9FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.45
#DE7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7DFC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7DFC#FFFFFF#000000##000000
##DE7DFC1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#82A7F9
Tritanopia (blue-blind)
#DE90B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de7dfc;
/* rgb */ color: rgb(222, 125, 252);
/* oklch */ color: oklch(74.3% 0.199 317.7);
Tailwind
colors: {
  custom: {
    50: '#eba6fe',
    500: '#de7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #de7dfc;
$custom-light: #eba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de7dfc",
  "rgb": {
    "r": 222,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 285.827,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74314,
    "c": 0.19883,
    "h": 317.7
  },
  "luminance": 0.37225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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