#DE7EFC#DE7EFC

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

Color values

HEX#DE7EFC
RGBrgb(222, 126, 252)
HSLhsl(286, 95%, 74%)
HSVhsv(286, 50%, 99%)
CMYKcmyk(11.9%, 50%, 0%, 1.2%)
CIE-LABlab(67.64, 56.54, -47.85)
CIE-LCHlch(67.64, 74.07, 319.76°)
OKLaboklab(74.45% 0.1458 -0.1329)
OKLCHoklch(74.45% 0.197 317.7)
XYZxyz(55.1533, 37.4815, 96.4060)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7EFC #9CFC7E
analogous
#9F7EFC #DE7EFC #FC7EDB
triadic
#DE7EFC #FCDE7E #7EFCDE
tetradic
#DE7EFC #FC9F7E #9CFC7E #7EDBFC
square
#DE7EFC #FC9F7E #9CFC7E #7EDBFC
split-complementary
#DE7EFC #DBFC7E #7EFC9F
monochromatic
#BF06F9 #CF42FB #DE7EFC #EDBAFD #F7E1FE

Accessibility & contrast

On white

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

On black

8.50
#DE7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7EFC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7EFC#FFFFFF#000000##000000
##DE7EFC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#DE90B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #de7efc;
/* rgb */ color: rgb(222, 126, 252);
/* oklch */ color: oklch(74.5% 0.197 317.7);
Tailwind
colors: {
  custom: {
    50: '#eba6fe',
    500: '#de7efc',
    950: '#000000',
  },
}
SCSS
$custom: #de7efc;
$custom-light: #eba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de7efc",
  "rgb": {
    "r": 222,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 285.714,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74454,
    "c": 0.19728,
    "h": 317.7
  },
  "luminance": 0.3748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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