#DD7AFD#DD7AFD

#DD7AFD is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 73.8% C 0.204 H 317.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#DD7AFD
RGBrgb(221, 122, 253)
HSLhsl(285, 97%, 74%)
HSVhsv(285, 52%, 99%)
CMYKcmyk(12.6%, 51.8%, 0%, 0.8%)
CIE-LABlab(66.81, 58.45, -49.70)
CIE-LCHlch(66.81, 76.73, 319.63°)
OKLaboklab(73.84% 0.15 -0.1382)
OKLCHoklch(73.84% 0.204 317.3)
XYZxyz(54.5054, 36.3850, 97.0613)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7AFD #9AFD7A
analogous
#9B7AFD #DD7AFD #FD7ADB
triadic
#DD7AFD #FDDD7A #7AFDDD
tetradic
#DD7AFD #FD9B7A #9AFD7A #7ADBFD
square
#DD7AFD #FD9B7A #9AFD7A #7ADBFD
split-complementary
#DD7AFD #DBFD7A #7AFD9B
monochromatic
#BD04F9 #CE3EFC #DD7AFD #ECB6FE #F7E1FF

Accessibility & contrast

On white

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

On black

8.28
#DD7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7AFD
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7AFD#FFFFFF#000000##000000
##DD7AFD1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#7EA6F9
Tritanopia (blue-blind)
#DC8EB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dd7afd;
/* rgb */ color: rgb(221, 122, 253);
/* oklch */ color: oklch(73.8% 0.204 317.3);
Tailwind
colors: {
  custom: {
    50: '#eaa4fe',
    500: '#dd7afd',
    950: '#000000',
  },
}
SCSS
$custom: #dd7afd;
$custom-light: #eaa4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7afd",
  "rgb": {
    "r": 221,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 285.344,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73836,
    "c": 0.20401,
    "h": 317.3
  },
  "luminance": 0.36383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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