#DD7AFE#DD7AFE

#DD7AFE is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 73.9% C 0.205 H 317.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DD7AFE
RGBrgb(221, 122, 254)
HSLhsl(285, 99%, 74%)
HSVhsv(285, 52%, 100%)
CMYKcmyk(13%, 52%, 0%, 0.4%)
CIE-LABlab(66.86, 58.65, -50.17)
CIE-LCHlch(66.86, 77.18, 319.45°)
OKLaboklab(73.89% 0.1501 -0.1396)
OKLCHoklch(73.89% 0.205 317.1)
XYZxyz(54.6651, 36.4488, 97.9025)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7AFE #9BFE7A
analogous
#9B7AFE #DD7AFE #FE7ADD
triadic
#DD7AFE #FEDD7A #7AFEDD
tetradic
#DD7AFE #FE9B7A #9BFE7A #7ADDFE
square
#DD7AFE #FE9B7A #9BFE7A #7ADDFE
split-complementary
#DD7AFE #DDFE7A #7AFE9B
monochromatic
#BD02FC #CD3DFE #DD7AFE #EDB7FE #F7E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DD7AFE#FFFFFF#000000##000000
##DD7AFE1.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)
#5E9CFF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#DC8EB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dd7afe;
/* rgb */ color: rgb(221, 122, 254);
/* oklch */ color: oklch(73.9% 0.205 317.1);
Tailwind
colors: {
  custom: {
    50: '#eaa4ff',
    500: '#dd7afe',
    950: '#000000',
  },
}
SCSS
$custom: #dd7afe;
$custom-light: #eaa4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7afe",
  "rgb": {
    "r": 221,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 285,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.205,
    "h": 317.1
  },
  "luminance": 0.36447
}

Semantic roles & 50–950 ramp

primary
#DD7AFE
secondary
#DDF7D4
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DD7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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