#DD7FEB#DD7FEB

#DD7FEB is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.178 H 322.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DD7FEB
RGBrgb(221, 127, 235)
HSLhsl(292, 73%, 71%)
HSVhsv(292, 46%, 92%)
CMYKcmyk(6%, 46%, 0%, 7.8%)
CIE-LABlab(66.94, 52.49, -39.61)
CIE-LCHlch(66.94, 65.76, 322.96°)
OKLaboklab(73.66% 0.141 -0.1091)
OKLCHoklch(73.66% 0.178 322.3)
XYZxyz(52.4019, 36.5512, 82.8760)
Luminance0.3655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7FEB #8DEB7F
analogous
#A77FEB #DD7FEB #EB7FC3
triadic
#DD7FEB #EBDD7F #7FEBDD
tetradic
#DD7FEB #EBA77F #8DEB7F #7FC3EB
square
#DD7FEB #EBA77F #8DEB7F #7FC3EB
split-complementary
#DD7FEB #C3EB7F #7FEBA7
monochromatic
#B920CF #CF4AE3 #DD7FEB #EBB4F3 #F8E5FB

Accessibility & contrast

On white

2.53
#DD7FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DD7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7FEB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7FEB#FFFFFF#000000##000000
##DD7FEB1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#8BA7E8
Tritanopia (blue-blind)
#E08CAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dd7feb;
/* rgb */ color: rgb(221, 127, 235);
/* oklch */ color: oklch(73.7% 0.178 322.3);
Tailwind
colors: {
  custom: {
    50: '#e9a7f2',
    500: '#dd7feb',
    950: '#000000',
  },
}
SCSS
$custom: #dd7feb;
$custom-light: #e9a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7feb",
  "rgb": {
    "r": 221,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 292.222,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73659,
    "c": 0.17829,
    "h": 322.3
  },
  "luminance": 0.36549
}

Semantic roles & 50–950 ramp

primary
#DD7FEB
secondary
#D8F1D5
accent
#D5102A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DD7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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