#DE7EF2#DE7EF2

#DE7EF2 is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.187 H 320.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DE7EF2
RGBrgb(222, 126, 242)
HSLhsl(290, 82%, 72%)
HSVhsv(290, 48%, 95%)
CMYKcmyk(8.3%, 47.9%, 0%, 5.1%)
CIE-LABlab(67.17, 54.60, -43.09)
CIE-LCHlch(67.17, 69.56, 321.72°)
OKLaboklab(73.96% 0.1446 -0.1191)
OKLCHoklch(73.96% 0.187 320.5)
XYZxyz(53.6101, 36.8642, 88.2787)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7EF2 #92F27E
analogous
#A47EF2 #DE7EF2 #F27ECC
triadic
#DE7EF2 #F2DE7E #7EF2DE
tetradic
#DE7EF2 #F2A47E #92F27E #7ECCF2
square
#DE7EF2 #F2A47E #92F27E #7ECCF2
split-complementary
#DE7EF2 #CCF27E #7EF2A4
monochromatic
#BD16DF #D046EC #DE7EF2 #ECB6F8 #F8E3FC

Accessibility & contrast

On white

2.51
#DE7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#DE7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7EF2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7EF2#FFFFFF#000000##000000
##DE7EF21.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#88A7EF
Tritanopia (blue-blind)
#E08DAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7ef2;
/* rgb */ color: rgb(222, 126, 242);
/* oklch */ color: oklch(74.0% 0.187 320.5);
Tailwind
colors: {
  custom: {
    50: '#eaa6f7',
    500: '#de7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #de7ef2;
$custom-light: #eaa6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#de7ef2",
  "rgb": {
    "r": 222,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 289.655,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73962,
    "c": 0.18731,
    "h": 320.5
  },
  "luminance": 0.36862
}

Semantic roles & 50–950 ramp

primary
#DE7EF2
secondary
#DCF4D7
accent
#DE072C
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DE7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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