#DE7FE2#DE7FE2

#DE7FE2 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.170 H 325.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#DE7FE2
RGBrgb(222, 127, 226)
HSLhsl(298, 63%, 69%)
HSVhsv(298, 44%, 89%)
CMYKcmyk(1.8%, 43.8%, 0%, 11.4%)
CIE-LABlab(66.67, 51.11, -35.04)
CIE-LCHlch(66.67, 61.97, 325.57°)
OKLaboklab(73.36% 0.1406 -0.096)
OKLCHoklch(73.36% 0.17 325.7)
XYZxyz(51.4399, 36.2017, 76.2148)
Luminance0.3620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7FE2 #83E27F
analogous
#AD7FE2 #DE7FE2 #E27FB5
triadic
#DE7FE2 #E2DE7F #7FE2DE
tetradic
#DE7FE2 #E2AD7F #83E27F #7FB5E2
square
#DE7FE2 #E2AD7F #83E27F #7FB5E2
split-complementary
#DE7FE2 #B5E27F #7FE2AD
monochromatic
#B62BBC #D14DD7 #DE7FE2 #EBB1ED #F8E3F9

Accessibility & contrast

On white

2.55
#DE7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#DE7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7FE2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7FE2#FFFFFF#000000##000000
##DE7FE21.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE5
Deuteranopia (green-blind)
#90A6DF
Tritanopia (blue-blind)
#E38AA6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7fe2;
/* rgb */ color: rgb(222, 127, 226);
/* oklch */ color: oklch(73.4% 0.170 325.7);
Tailwind
colors: {
  custom: {
    50: '#eaa7eb',
    500: '#de7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #de7fe2;
$custom-light: #eaa7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#de7fe2",
  "rgb": {
    "r": 222,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 297.576,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73361,
    "c": 0.17023,
    "h": 325.7
  },
  "luminance": 0.36199
}

Semantic roles & 50–950 ramp

primary
#DE7FE2
secondary
#D1EDD0
accent
#CB1B22
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DE7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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