#DD7DFC#DD7DFC

#DD7DFC is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.2% C 0.198 H 317.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#DD7DFC
RGBrgb(221, 125, 252)
HSLhsl(285, 95%, 74%)
HSVhsv(285, 50%, 99%)
CMYKcmyk(12.3%, 50.4%, 0%, 1.2%)
CIE-LABlab(67.33, 56.77, -48.34)
CIE-LCHlch(67.33, 74.56, 319.59°)
OKLaboklab(74.2% 0.146 -0.1343)
OKLCHoklch(74.2% 0.198 317.4)
XYZxyz(54.7206, 37.0695, 96.3492)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7DFC #9CFC7D
analogous
#9E7DFC #DD7DFC #FC7DDC
triadic
#DD7DFC #FCDD7D #7DFCDD
tetradic
#DD7DFC #FC9E7D #9CFC7D #7DDCFC
square
#DD7DFC #FC9E7D #9CFC7D #7DDCFC
split-complementary
#DD7DFC #DCFC7D #7DFC9E
monochromatic
#BE06F9 #CD41FB #DD7DFC #EDB9FD #F7E1FE

Accessibility & contrast

On white

2.50
#DD7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#DD7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7DFC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7DFC#FFFFFF#000000##000000
##DD7DFC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#DC90B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dd7dfc;
/* rgb */ color: rgb(221, 125, 252);
/* oklch */ color: oklch(74.2% 0.198 317.4);
Tailwind
colors: {
  custom: {
    50: '#eaa6fe',
    500: '#dd7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #dd7dfc;
$custom-light: #eaa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7dfc",
  "rgb": {
    "r": 221,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 285.354,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74202,
    "c": 0.19838,
    "h": 317.4
  },
  "luminance": 0.37068
}

Semantic roles & 50–950 ramp

primary
#DD7DFC
secondary
#DDF7D4
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DD7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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