#DD97FA#DD97FA

#DD97FA is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.0% C 0.154 H 315.6°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#DD97FA
RGBrgb(221, 151, 250)
HSLhsl(282, 91%, 79%)
HSVhsv(282, 40%, 98%)
CMYKcmyk(11.6%, 39.6%, 0%, 2%)
CIE-LABlab(72.50, 42.97, -39.15)
CIE-LCHlch(72.50, 58.12, 317.66°)
OKLaboklab(78.03% 0.1101 -0.1079)
OKLCHoklch(78.03% 0.154 315.6)
XYZxyz(58.1381, 44.4089, 95.9331)
Luminance0.4441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97FA #B4FA97
analogous
#AB97FA #DD97FA #FA97E5
triadic
#DD97FA #FADD97 #97FADD
tetradic
#DD97FA #FAAB97 #B4FA97 #97E5FA
square
#DD97FA #FAAB97 #B4FA97 #97E5FA
split-complementary
#DD97FA #E5FA97 #97FAAB
monochromatic
#B722F4 #CA5DF7 #DD97FA #F0D1FD #F5E2FE

Accessibility & contrast

On white

2.13
#DD97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#DD97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97FA
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97FA#FFFFFF#000000##000000
##DD97FA1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFE
Deuteranopia (green-blind)
#98B4F7
Tritanopia (blue-blind)
#DCA4BD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dd97fa;
/* rgb */ color: rgb(221, 151, 250);
/* oklch */ color: oklch(78.0% 0.154 315.6);
Tailwind
colors: {
  custom: {
    50: '#e9b7fc',
    500: '#dd97fa',
    950: '#000000',
  },
}
SCSS
$custom: #dd97fa;
$custom-light: #e9b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97fa",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 282.424,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78031,
    "c": 0.15416,
    "h": 315.6
  },
  "luminance": 0.44407
}

Semantic roles & 50–950 ramp

primary
#DD97FA
secondary
#DFF6D5
accent
#E60043
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DD97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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