#DE7FD4#DE7FD4

#DE7FD4 is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.157 H 331.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#DE7FD4
RGBrgb(222, 127, 212)
HSLhsl(306, 59%, 68%)
HSVhsv(306, 43%, 87%)
CMYKcmyk(0%, 42.8%, 4.5%, 12.9%)
CIE-LABlab(66.11, 48.62, -28.13)
CIE-LCHlch(66.11, 56.17, 329.95°)
OKLaboklab(72.75% 0.1377 -0.0764)
OKLCHoklch(72.75% 0.157 331)
XYZxyz(49.5967, 35.4645, 66.5075)
Luminance0.3546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7FD4 #7FDE89
analogous
#B87FDE #DE7FD4 #DE7FA4
triadic
#DE7FD4 #D4DE7F #7FD4DE
tetradic
#DE7FD4 #DEB87F #7FDE89 #7FA4DE
square
#DE7FD4 #DEB87F #7FDE89 #7FA4DE
split-complementary
#DE7FD4 #A4DE7F #7FDEB8
monochromatic
#B42EA6 #D14EC4 #DE7FD4 #EBB0E4 #F7E0F5

Accessibility & contrast

On white

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

On black

8.09
#DE7FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7FD4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7FD4#FFFFFF#000000##000000
##DE7FD41.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B98D7
Deuteranopia (green-blind)
#95A5D1
Tritanopia (blue-blind)
#E586A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #de7fd4;
/* rgb */ color: rgb(222, 127, 212);
/* oklch */ color: oklch(72.8% 0.157 331.0);
Tailwind
colors: {
  custom: {
    50: '#eaa6e1',
    500: '#de7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #de7fd4;
$custom-light: #eaa6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#de7fd4",
  "rgb": {
    "r": 222,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 306.316,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.15746,
    "h": 331
  },
  "luminance": 0.35462
}

Semantic roles & 50–950 ramp

primary
#DE7FD4
secondary
#CEEBD1
accent
#C7311F
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DE7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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