#DD97FE#DD97FE

#DD97FE is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.2% C 0.159 H 314.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#DD97FE
RGBrgb(221, 151, 254)
HSLhsl(281, 98%, 79%)
HSVhsv(281, 41%, 100%)
CMYKcmyk(13%, 40.6%, 0%, 0.4%)
CIE-LABlab(72.67, 43.78, -41.06)
CIE-LCHlch(72.67, 60.02, 316.84°)
OKLaboklab(78.21% 0.1108 -0.1134)
OKLCHoklch(78.21% 0.159 314.3)
XYZxyz(58.7719, 44.6624, 99.2714)
Luminance0.4466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97FE #B8FE97
analogous
#AA97FE #DD97FE #FE97EB
triadic
#DD97FE #FEDD97 #97FEDD
tetradic
#DD97FE #FEAA97 #B8FE97 #97EBFE
square
#DD97FE #FEAA97 #B8FE97 #97EBFE
split-complementary
#DD97FE #EBFE97 #97FEAA
monochromatic
#B51EFD #C95AFD #DD97FE #F1D4FF #F5E1FF

Accessibility & contrast

On white

2.11
#DD97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#DD97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97FE
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97FE#FFFFFF#000000##000000
##DD97FE1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#DBA5BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dd97fe;
/* rgb */ color: rgb(221, 151, 254);
/* oklch */ color: oklch(78.2% 0.159 314.3);
Tailwind
colors: {
  custom: {
    50: '#e9b7ff',
    500: '#dd97fe',
    950: '#000000',
  },
}
SCSS
$custom: #dd97fe;
$custom-light: #e9b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97fe",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 280.777,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78213,
    "c": 0.15859,
    "h": 314.3
  },
  "luminance": 0.44661
}

Semantic roles & 50–950 ramp

primary
#DD97FE
secondary
#DFF7D4
accent
#E6004A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DD97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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