#DD7DF8#DD7DF8

#DD7DF8 is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.0% C 0.194 H 318.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#DD7DF8
RGBrgb(221, 125, 248)
HSLhsl(287, 90%, 73%)
HSVhsv(287, 50%, 97%)
CMYKcmyk(10.9%, 49.6%, 0%, 2.7%)
CIE-LABlab(67.14, 55.99, -46.45)
CIE-LCHlch(67.14, 72.75, 320.32°)
OKLaboklab(74% 0.1455 -0.1288)
OKLCHoklch(74% 0.194 318.5)
XYZxyz(54.0934, 36.8186, 93.0460)
Luminance0.3682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7DF8 #98F87D
analogous
#9F7DF8 #DD7DF8 #F87DD6
triadic
#DD7DF8 #F8DD7D #7DF8DD
tetradic
#DD7DF8 #F89F7D #98F87D #7DD6F8
square
#DD7DF8 #F89F7D #98F87D #7DD6F8
split-complementary
#DD7DF8 #D6F87D #7DF89F
monochromatic
#BC0DEE #CE43F5 #DD7DF8 #ECB7FB #F7E2FD

Accessibility & contrast

On white

2.51
#DD7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#DD7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7DF8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7DF8#FFFFFF#000000##000000
##DD7DF81.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#83A7F5
Tritanopia (blue-blind)
#DD8FAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dd7df8;
/* rgb */ color: rgb(221, 125, 248);
/* oklch */ color: oklch(74.0% 0.194 318.5);
Tailwind
colors: {
  custom: {
    50: '#eaa6fb',
    500: '#dd7df8',
    950: '#000000',
  },
}
SCSS
$custom: #dd7df8;
$custom-light: #eaa6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7df8",
  "rgb": {
    "r": 221,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 286.829,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74001,
    "c": 0.19436,
    "h": 318.5
  },
  "luminance": 0.36817
}

Semantic roles & 50–950 ramp

primary
#DD7DF8
secondary
#DDF6D5
accent
#E60032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DD7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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