#DD7FE2#DD7FE2

#DD7FE2 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.170 H 325.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#DD7FE2
RGBrgb(221, 127, 226)
HSLhsl(297, 63%, 69%)
HSVhsv(297, 44%, 89%)
CMYKcmyk(2.2%, 43.8%, 0%, 11.4%)
CIE-LABlab(66.55, 50.82, -35.23)
CIE-LCHlch(66.55, 61.84, 325.27°)
OKLaboklab(73.25% 0.1394 -0.0966)
OKLCHoklch(73.25% 0.17 325.3)
XYZxyz(51.1345, 36.0442, 76.2005)
Luminance0.3604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7FE2 #84E27F
analogous
#AC7FE2 #DD7FE2 #E27FB6
triadic
#DD7FE2 #E2DD7F #7FE2DD
tetradic
#DD7FE2 #E2AC7F #84E27F #7FB6E2
square
#DD7FE2 #E2AC7F #84E27F #7FB6E2
split-complementary
#DD7FE2 #B6E27F #7FE2AC
monochromatic
#B52BBC #D04DD7 #DD7FE2 #EAB1ED #F8E3F9

Accessibility & contrast

On white

2.56
#DD7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#DD7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7FE2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7FE2#FFFFFF#000000##000000
##DD7FE21.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE5
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#E18AA6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dd7fe2;
/* rgb */ color: rgb(221, 127, 226);
/* oklch */ color: oklch(73.2% 0.170 325.3);
Tailwind
colors: {
  custom: {
    50: '#e9a7eb',
    500: '#dd7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #dd7fe2;
$custom-light: #e9a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7fe2",
  "rgb": {
    "r": 221,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 296.97,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73246,
    "c": 0.16962,
    "h": 325.3
  },
  "luminance": 0.36042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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