#DD97FC#DD97FC

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

Color values

HEX#DD97FC
RGBrgb(221, 151, 252)
HSLhsl(282, 94%, 79%)
HSVhsv(282, 40%, 99%)
CMYKcmyk(12.3%, 40.1%, 0%, 1.2%)
CIE-LABlab(72.58, 43.37, -40.10)
CIE-LCHlch(72.58, 59.07, 317.24°)
OKLaboklab(78.12% 0.1105 -0.1107)
OKLCHoklch(78.12% 0.156 314.9)
XYZxyz(58.4533, 44.5350, 97.5935)
Luminance0.4453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97FC #B6FC97
analogous
#AB97FC #DD97FC #FC97E9
triadic
#DD97FC #FCDD97 #97FCDD
tetradic
#DD97FC #FCAB97 #B6FC97 #97E9FC
square
#DD97FC #FCAB97 #B6FC97 #97E9FC
split-complementary
#DD97FC #E9FC97 #97FCAB
monochromatic
#B620F9 #CA5CFA #DD97FC #F0D2FE #F5E1FE

Accessibility & contrast

On white

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

On black

9.91
#DD97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97FC
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97FC#FFFFFF#000000##000000
##DD97FC1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dd97fc;
/* rgb */ color: rgb(221, 151, 252);
/* oklch */ color: oklch(78.1% 0.156 314.9);
Tailwind
colors: {
  custom: {
    50: '#e9b7fd',
    500: '#dd97fc',
    950: '#000000',
  },
}
SCSS
$custom: #dd97fc;
$custom-light: #e9b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97fc",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 281.584,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78122,
    "c": 0.15637,
    "h": 314.9
  },
  "luminance": 0.44534
}

Semantic roles & 50–950 ramp

primary
#DD97FC
secondary
#DFF6D5
accent
#E60046
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DD97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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