#DD97FD#DD97FD

#DD97FD is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.2% C 0.157 H 314.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#DD97FD
RGBrgb(221, 151, 253)
HSLhsl(281, 96%, 79%)
HSVhsv(281, 40%, 99%)
CMYKcmyk(12.6%, 40.3%, 0%, 0.8%)
CIE-LABlab(72.63, 43.57, -40.58)
CIE-LCHlch(72.63, 59.54, 317.04°)
OKLaboklab(78.17% 0.1106 -0.1121)
OKLCHoklch(78.17% 0.157 314.6)
XYZxyz(58.6122, 44.5986, 98.4302)
Luminance0.4460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97FD #B7FD97
analogous
#AA97FD #DD97FD #FD97EA
triadic
#DD97FD #FDDD97 #97FDDD
tetradic
#DD97FD #FDAA97 #B7FD97 #97EAFD
square
#DD97FD #FDAA97 #B7FD97 #97EAFD
split-complementary
#DD97FD #EAFD97 #97FDAA
monochromatic
#B61FFB #C95BFC #DD97FD #F1D3FE #F5E1FE

Accessibility & contrast

On white

2.12
#DD97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#DD97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97FD
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97FD#FFFFFF#000000##000000
##DD97FD1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#97B4FA
Tritanopia (blue-blind)
#DBA5BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dd97fd;
/* rgb */ color: rgb(221, 151, 253);
/* oklch */ color: oklch(78.2% 0.157 314.6);
Tailwind
colors: {
  custom: {
    50: '#e9b7fe',
    500: '#dd97fd',
    950: '#000000',
  },
}
SCSS
$custom: #dd97fd;
$custom-light: #e9b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97fd",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 281.176,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78167,
    "c": 0.15748,
    "h": 314.6
  },
  "luminance": 0.44597
}

Semantic roles & 50–950 ramp

primary
#DD97FD
secondary
#DFF7D4
accent
#E60048
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DD97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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