#DD7AFC#DD7AFC

#DD7AFC is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 73.8% C 0.203 H 317.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#DD7AFC
RGBrgb(221, 122, 252)
HSLhsl(286, 96%, 73%)
HSVhsv(286, 52%, 99%)
CMYKcmyk(12.3%, 51.6%, 0%, 1.2%)
CIE-LABlab(66.76, 58.25, -49.23)
CIE-LCHlch(66.76, 76.27, 319.80°)
OKLaboklab(73.79% 0.1499 -0.1369)
OKLCHoklch(73.79% 0.203 317.6)
XYZxyz(54.3465, 36.3214, 96.2245)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7AFC #99FC7A
analogous
#9C7AFC #DD7AFC #FC7ADA
triadic
#DD7AFC #FCDD7A #7AFCDD
tetradic
#DD7AFC #FC9C7A #99FC7A #7ADAFC
square
#DD7AFC #FC9C7A #99FC7A #7ADAFC
split-complementary
#DD7AFC #DAFC7A #7AFC9C
monochromatic
#BD06F6 #CE3EFB #DD7AFC #ECB6FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.26
#DD7AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7AFC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7AFC#FFFFFF#000000##000000
##DD7AFC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#DC8DB0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dd7afc;
/* rgb */ color: rgb(221, 122, 252);
/* oklch */ color: oklch(73.8% 0.203 317.6);
Tailwind
colors: {
  custom: {
    50: '#eaa4fe',
    500: '#dd7afc',
    950: '#000000',
  },
}
SCSS
$custom: #dd7afc;
$custom-light: #eaa4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7afc",
  "rgb": {
    "r": 221,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 285.692,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73785,
    "c": 0.20301,
    "h": 317.6
  },
  "luminance": 0.36319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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