#DD7DF2#DD7DF2

#DD7DF2 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.7% C 0.188 H 320.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DD7DF2
RGBrgb(221, 125, 242)
HSLhsl(289, 82%, 72%)
HSVhsv(289, 48%, 95%)
CMYKcmyk(8.7%, 48.3%, 0%, 5.1%)
CIE-LABlab(66.86, 54.83, -43.58)
CIE-LCHlch(66.86, 70.04, 321.52°)
OKLaboklab(73.71% 0.1448 -0.1205)
OKLCHoklch(73.71% 0.188 320.2)
XYZxyz(53.1775, 36.4523, 88.2220)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7DF2 #92F27D
analogous
#A37DF2 #DD7DF2 #F27DCC
triadic
#DD7DF2 #F2DD7D #7DF2DD
tetradic
#DD7DF2 #F2A37D #92F27D #7DCCF2
square
#DD7DF2 #F2A37D #92F27D #7DCCF2
split-complementary
#DD7DF2 #CCF27D #7DF2A3
monochromatic
#BA16DE #CE45EC #DD7DF2 #ECB5F8 #F8E3FC

Accessibility & contrast

On white

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

On black

8.29
#DD7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7DF2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7DF2#FFFFFF#000000##000000
##DD7DF21.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#DE8DAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dd7df2;
/* rgb */ color: rgb(221, 125, 242);
/* oklch */ color: oklch(73.7% 0.188 320.2);
Tailwind
colors: {
  custom: {
    50: '#eaa5f7',
    500: '#dd7df2',
    950: '#000000',
  },
}
SCSS
$custom: #dd7df2;
$custom-light: #eaa5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7df2",
  "rgb": {
    "r": 221,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 289.231,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73706,
    "c": 0.18839,
    "h": 320.2
  },
  "luminance": 0.3645
}

Semantic roles & 50–950 ramp

primary
#DD7DF2
secondary
#DCF4D7
accent
#DE072E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DD7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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