#DD97F2#DD97F2

#DD97F2 is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.7% C 0.145 H 318.2°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#DD97F2
RGBrgb(221, 151, 242)
HSLhsl(286, 78%, 77%)
HSVhsv(286, 38%, 95%)
CMYKcmyk(8.7%, 37.6%, 0%, 5.1%)
CIE-LABlab(72.17, 41.37, -35.30)
CIE-LCHlch(72.17, 54.38, 319.52°)
OKLaboklab(77.68% 0.1084 -0.0969)
OKLCHoklch(77.68% 0.145 318.2)
XYZxyz(56.9102, 43.9177, 89.4663)
Luminance0.4392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97F2 #ACF297
analogous
#B097F2 #DD97F2 #F297DA
triadic
#DD97F2 #F2DD97 #97F2DD
tetradic
#DD97F2 #F2B097 #ACF297 #97DAF2
square
#DD97F2 #F2B097 #ACF297 #97DAF2
split-complementary
#DD97F2 #DAF297 #97F2B0
monochromatic
#B92AE4 #CB61EB #DD97F2 #EFCDF9 #F6E4FC

Accessibility & contrast

On white

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

On black

9.78
#DD97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97F2
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97F2#FFFFFF#000000##000000
##DD97F21.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#9BB3EF
Tritanopia (blue-blind)
#DDA2B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dd97f2;
/* rgb */ color: rgb(221, 151, 242);
/* oklch */ color: oklch(77.7% 0.145 318.2);
Tailwind
colors: {
  custom: {
    50: '#e9b7f6',
    500: '#dd97f2',
    950: '#000000',
  },
}
SCSS
$custom: #dd97f2;
$custom-light: #e9b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97f2",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 286.154,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77677,
    "c": 0.14543,
    "h": 318.2
  },
  "luminance": 0.43916
}

Semantic roles & 50–950 ramp

primary
#DD97F2
secondary
#DEF3D8
accent
#DA0B3B
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DD97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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