#DD7DEC#DD7DEC

#DD7DEC is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.4% C 0.182 H 322.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#DD7DEC
RGBrgb(221, 125, 236)
HSLhsl(292, 74%, 71%)
HSVhsv(292, 47%, 93%)
CMYKcmyk(6.4%, 47%, 0%, 7.5%)
CIE-LABlab(66.59, 53.69, -40.70)
CIE-LCHlch(66.59, 67.37, 322.84°)
OKLaboklab(73.42% 0.1439 -0.1122)
OKLCHoklch(73.42% 0.183 322)
XYZxyz(52.2911, 36.0977, 83.5537)
Luminance0.3610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7DEC #8CEC7D
analogous
#A57DEC #DD7DEC #EC7DC3
triadic
#DD7DEC #ECDD7D #7DECDD
tetradic
#DD7DEC #ECA57D #8CEC7D #7DC3EC
square
#DD7DEC #ECA57D #8CEC7D #7DC3EC
split-complementary
#DD7DEC #C3EC7D #7DECA5
monochromatic
#B81ED0 #CF48E4 #DD7DEC #EBB2F4 #F8E4FB

Accessibility & contrast

On white

2.55
#DD7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#DD7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7DEC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7DEC#FFFFFF#000000##000000
##DD7DEC1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#E08BAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dd7dec;
/* rgb */ color: rgb(221, 125, 236);
/* oklch */ color: oklch(73.4% 0.182 322.0);
Tailwind
colors: {
  custom: {
    50: '#eaa5f2',
    500: '#dd7dec',
    950: '#000000',
  },
}
SCSS
$custom: #dd7dec;
$custom-light: #eaa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7dec",
  "rgb": {
    "r": 221,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 291.892,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73418,
    "c": 0.1825,
    "h": 322
  },
  "luminance": 0.36096
}

Semantic roles & 50–950 ramp

primary
#DD7DEC
secondary
#D8F1D3
accent
#D70F2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DD7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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