#DD7DFB#DD7DFB

#DD7DFB is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.2% C 0.197 H 317.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#DD7DFB
RGBrgb(221, 125, 251)
HSLhsl(286, 94%, 74%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(12%, 50.2%, 0%, 1.6%)
CIE-LABlab(67.28, 56.58, -47.87)
CIE-LCHlch(67.28, 74.11, 319.77°)
OKLaboklab(74.15% 0.1459 -0.1329)
OKLCHoklch(74.15% 0.197 317.7)
XYZxyz(54.5626, 37.0063, 95.5169)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7DFB #9BFB7D
analogous
#9E7DFB #DD7DFB #FB7DDA
triadic
#DD7DFB #FBDD7D #7DFBDD
tetradic
#DD7DFB #FB9E7D #9BFB7D #7DDAFB
square
#DD7DFB #FB9E7D #9BFB7D #7DDAFB
split-complementary
#DD7DFB #DAFB7D #7DFB9E
monochromatic
#BD08F6 #CD42F9 #DD7DFB #EDB8FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.40
#DD7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7DFB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7DFB#FFFFFF#000000##000000
##DD7DFB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#DD8FB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dd7dfb;
/* rgb */ color: rgb(221, 125, 251);
/* oklch */ color: oklch(74.2% 0.197 317.7);
Tailwind
colors: {
  custom: {
    50: '#eaa6fd',
    500: '#dd7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #dd7dfb;
$custom-light: #eaa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7dfb",
  "rgb": {
    "r": 221,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 285.714,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74151,
    "c": 0.19737,
    "h": 317.7
  },
  "luminance": 0.37004
}

Semantic roles & 50–950 ramp

primary
#DD7DFB
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DD7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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