#DD7DEF#DD7DEF

#DD7DEF is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.6% C 0.185 H 321.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#DD7DEF
RGBrgb(221, 125, 239)
HSLhsl(291, 78%, 71%)
HSVhsv(291, 48%, 94%)
CMYKcmyk(7.5%, 47.7%, 0%, 6.3%)
CIE-LABlab(66.73, 54.26, -42.14)
CIE-LCHlch(66.73, 68.70, 322.16°)
OKLaboklab(73.56% 0.1444 -0.1164)
OKLCHoklch(73.56% 0.185 321.1)
XYZxyz(52.7306, 36.2735, 85.8685)
Luminance0.3627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7DEF #8FEF7D
analogous
#A47DEF #DD7DEF #EF7DC8
triadic
#DD7DEF #EFDD7D #7DEFDD
tetradic
#DD7DEF #EFA47D #8FEF7D #7DC8EF
square
#DD7DEF #EFA47D #8FEF7D #7DC8EF
split-complementary
#DD7DEF #C8EF7D #7DEFA4
monochromatic
#B91AD7 #CF47E8 #DD7DEF #EBB3F6 #F8E4FC

Accessibility & contrast

On white

2.54
#DD7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#DD7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7DEF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7DEF#FFFFFF#000000##000000
##DD7DEF1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#DF8CAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dd7def;
/* rgb */ color: rgb(221, 125, 239);
/* oklch */ color: oklch(73.6% 0.185 321.1);
Tailwind
colors: {
  custom: {
    50: '#eaa5f4',
    500: '#dd7def',
    950: '#000000',
  },
}
SCSS
$custom: #dd7def;
$custom-light: #eaa5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7def",
  "rgb": {
    "r": 221,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 290.526,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73561,
    "c": 0.18543,
    "h": 321.1
  },
  "luminance": 0.36271
}

Semantic roles & 50–950 ramp

primary
#DD7DEF
secondary
#DAF3D5
accent
#DA0B2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DD7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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