#DD98EE#DD98EE

#DD98EE is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.7% C 0.139 H 319.5°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#DD98EE
RGBrgb(221, 152, 238)
HSLhsl(288, 72%, 76%)
HSVhsv(288, 36%, 93%)
CMYKcmyk(7.1%, 36.1%, 0%, 6.7%)
CIE-LABlab(72.23, 40.05, -33.03)
CIE-LCHlch(72.23, 51.91, 320.49°)
OKLaboklab(77.67% 0.1061 -0.0905)
OKLCHoklch(77.67% 0.139 319.5)
XYZxyz(56.4776, 44.0033, 86.3907)
Luminance0.4400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98EE #A9EE98
analogous
#B298EE #DD98EE #EE98D4
triadic
#DD98EE #EEDD98 #98EEDD
tetradic
#DD98EE #EEB298 #A9EE98 #98D4EE
square
#DD98EE #EEB298 #A9EE98 #98D4EE
split-complementary
#DD98EE #D4EE98 #98EEB2
monochromatic
#BA2FDD #CC63E5 #DD98EE #EECDF7 #F6E5FB

Accessibility & contrast

On white

2.14
#DD98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#DD98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD98EE
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD98EE#FFFFFF#000000##000000
##DD98EE1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF1
Deuteranopia (green-blind)
#9EB4EB
Tritanopia (blue-blind)
#DEA2B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dd98ee;
/* rgb */ color: rgb(221, 152, 238);
/* oklch */ color: oklch(77.7% 0.139 319.5);
Tailwind
colors: {
  custom: {
    50: '#e9b7f3',
    500: '#dd98ee',
    950: '#000000',
  },
}
SCSS
$custom: #dd98ee;
$custom-light: #e9b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98ee",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 288.14,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77668,
    "c": 0.13943,
    "h": 319.5
  },
  "luminance": 0.44002
}

Semantic roles & 50–950 ramp

primary
#DD98EE
secondary
#DEF2D9
accent
#D41238
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DD98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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