#DE7FD2#DE7FD2

#DE7FD2 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.7% C 0.156 H 331.8°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#DE7FD2
RGBrgb(222, 127, 210)
HSLhsl(308, 59%, 68%)
HSVhsv(308, 43%, 87%)
CMYKcmyk(0%, 42.8%, 5.4%, 12.9%)
CIE-LABlab(66.03, 48.28, -27.13)
CIE-LCHlch(66.03, 55.38, 330.67°)
OKLaboklab(72.67% 0.1373 -0.0736)
OKLCHoklch(72.67% 0.156 331.8)
XYZxyz(49.3460, 35.3642, 65.1871)
Luminance0.3536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7FD2 #7FDE8B
analogous
#BA7FDE #DE7FD2 #DE7FA2
triadic
#DE7FD2 #D2DE7F #7FD2DE
tetradic
#DE7FD2 #DEBA7F #7FDE8B #7FA2DE
square
#DE7FD2 #DEBA7F #7FDE8B #7FA2DE
split-complementary
#DE7FD2 #A2DE7F #7FDEBA
monochromatic
#B42EA3 #D14EC1 #DE7FD2 #EBB0E3 #F7E0F4

Accessibility & contrast

On white

2.60
#DE7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#DE7FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7FD2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7FD2#FFFFFF#000000##000000
##DE7FD21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C98D5
Deuteranopia (green-blind)
#96A5CF
Tritanopia (blue-blind)
#E5859F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #de7fd2;
/* rgb */ color: rgb(222, 127, 210);
/* oklch */ color: oklch(72.7% 0.156 331.8);
Tailwind
colors: {
  custom: {
    50: '#eaa6e0',
    500: '#de7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #de7fd2;
$custom-light: #eaa6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#de7fd2",
  "rgb": {
    "r": 222,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 307.579,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7267,
    "c": 0.15572,
    "h": 331.8
  },
  "luminance": 0.35361
}

Semantic roles & 50–950 ramp

primary
#DE7FD2
secondary
#CEEBD2
accent
#C7341F
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DE7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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