#DE7FF2#DE7FF2

#DE7FF2 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.1% C 0.186 H 320.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#DE7FF2
RGBrgb(222, 127, 242)
HSLhsl(290, 82%, 72%)
HSVhsv(290, 48%, 95%)
CMYKcmyk(8.3%, 47.5%, 0%, 5.1%)
CIE-LABlab(67.37, 54.10, -42.79)
CIE-LCHlch(67.37, 68.98, 321.66°)
OKLaboklab(74.11% 0.1432 -0.1182)
OKLCHoklch(74.11% 0.186 320.5)
XYZxyz(53.7386, 37.1212, 88.3216)
Luminance0.3712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7FF2 #93F27F
analogous
#A47FF2 #DE7FF2 #F27FCD
triadic
#DE7FF2 #F2DE7F #7FF2DE
tetradic
#DE7FF2 #F2A47F #93F27F #7FCDF2
square
#DE7FF2 #F2A47F #93F27F #7FCDF2
split-complementary
#DE7FF2 #CDF27F #7FF2A4
monochromatic
#BD17E0 #D047EC #DE7FF2 #ECB7F8 #F8E3FC

Accessibility & contrast

On white

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

On black

8.42
#DE7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7FF2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7FF2#FFFFFF#000000##000000
##DE7FF21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#E08EAD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de7ff2;
/* rgb */ color: rgb(222, 127, 242);
/* oklch */ color: oklch(74.1% 0.186 320.5);
Tailwind
colors: {
  custom: {
    50: '#eaa7f7',
    500: '#de7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #de7ff2;
$custom-light: #eaa7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#de7ff2",
  "rgb": {
    "r": 222,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 289.565,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74105,
    "c": 0.18571,
    "h": 320.5
  },
  "luminance": 0.37119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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