#DD97EF#DD97EF

#DD97EF is a light, vivid purple. Relative luminance 0.437; OKLCH L 77.5% C 0.142 H 319.3°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#DD97EF
RGBrgb(221, 151, 239)
HSLhsl(288, 73%, 76%)
HSVhsv(288, 37%, 94%)
CMYKcmyk(7.5%, 36.8%, 0%, 6.3%)
CIE-LABlab(72.05, 40.78, -33.85)
CIE-LCHlch(72.05, 53.00, 320.30°)
OKLaboklab(77.55% 0.1078 -0.0928)
OKLCHoklch(77.55% 0.142 319.3)
XYZxyz(56.4633, 43.7390, 87.1128)
Luminance0.4374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97EF #A9EF97
analogous
#B197EF #DD97EF #EF97D5
triadic
#DD97EF #EFDD97 #97EFDD
tetradic
#DD97EF #EFB197 #A9EF97 #97D5EF
square
#DD97EF #EFB197 #A9EF97 #97D5EF
split-complementary
#DD97EF #D5EF97 #97EFB1
monochromatic
#BA2DDF #CC62E7 #DD97EF #EECCF7 #F6E4FB

Accessibility & contrast

On white

2.15
#DD97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#DD97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97EF
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97EF#FFFFFF#000000##000000
##DD97EF1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#9DB3EC
Tritanopia (blue-blind)
#DEA1B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dd97ef;
/* rgb */ color: rgb(221, 151, 239);
/* oklch */ color: oklch(77.5% 0.142 319.3);
Tailwind
colors: {
  custom: {
    50: '#e9b7f4',
    500: '#dd97ef',
    950: '#000000',
  },
}
SCSS
$custom: #dd97ef;
$custom-light: #e9b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97ef",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 287.727,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77547,
    "c": 0.14222,
    "h": 319.3
  },
  "luminance": 0.43737
}

Semantic roles & 50–950 ramp

primary
#DD97EF
secondary
#DEF3D8
accent
#D51038
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DD97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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