#DD97FB#DD97FB

#DD97FB is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.1% C 0.155 H 315.2°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#DD97FB
RGBrgb(221, 151, 251)
HSLhsl(282, 93%, 79%)
HSVhsv(282, 40%, 98%)
CMYKcmyk(12%, 39.8%, 0%, 1.6%)
CIE-LABlab(72.54, 43.17, -39.62)
CIE-LCHlch(72.54, 58.60, 317.45°)
OKLaboklab(78.08% 0.1103 -0.1093)
OKLCHoklch(78.08% 0.155 315.2)
XYZxyz(58.2953, 44.4718, 96.7611)
Luminance0.4447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97FB #B5FB97
analogous
#AB97FB #DD97FB #FB97E7
triadic
#DD97FB #FBDD97 #97FBDD
tetradic
#DD97FB #FBAB97 #B5FB97 #97E7FB
square
#DD97FB #FBAB97 #B5FB97 #97E7FB
split-complementary
#DD97FB #E7FB97 #97FBAB
monochromatic
#B621F6 #CA5CF9 #DD97FB #F0D2FD #F5E2FE

Accessibility & contrast

On white

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

On black

9.89
#DD97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97FB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97FB#FFFFFF#000000##000000
##DD97FB1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#DBA5BD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dd97fb;
/* rgb */ color: rgb(221, 151, 251);
/* oklch */ color: oklch(78.1% 0.155 315.2);
Tailwind
colors: {
  custom: {
    50: '#e9b7fd',
    500: '#dd97fb',
    950: '#000000',
  },
}
SCSS
$custom: #dd97fb;
$custom-light: #e9b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97fb",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 282,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78076,
    "c": 0.15526,
    "h": 315.2
  },
  "luminance": 0.4447
}

Semantic roles & 50–950 ramp

primary
#DD97FB
secondary
#DFF6D5
accent
#E60045
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DD97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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