#DD98DB#DD98DB

#DD98DB is a light, moderate purple. Relative luminance 0.429; OKLCH L 76.9% C 0.120 H 327.6°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#DD98DB
RGBrgb(221, 152, 219)
HSLhsl(302, 50%, 73%)
HSVhsv(302, 31%, 87%)
CMYKcmyk(0%, 31.2%, 0.9%, 13.3%)
CIE-LABlab(71.52, 36.45, -23.72)
CIE-LCHlch(71.52, 43.49, 326.95°)
OKLaboklab(76.89% 0.1013 -0.0642)
OKLCHoklch(76.89% 0.12 327.6)
XYZxyz(53.8321, 42.9451, 72.4577)
Luminance0.4294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98DB #98DD9A
analogous
#BC98DD #DD98DB #DD98B8
triadic
#DD98DB #DBDD98 #98DBDD
tetradic
#DD98DB #DDBC98 #98DD9A #98B8DD
square
#DD98DB #DDBC98 #98DD9A #98B8DD
split-complementary
#DD98DB #B8DD98 #98DDBC
monochromatic
#BC3EB9 #CE6ACB #DD98DB #ECC6EB #F7E8F7

Accessibility & contrast

On white

2.19
#DD98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#DD98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD98DB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD98DB#FFFFFF#000000##000000
##DD98DB1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADE
Deuteranopia (green-blind)
#A5B2D9
Tritanopia (blue-blind)
#E29EB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dd98db;
/* rgb */ color: rgb(221, 152, 219);
/* oklch */ color: oklch(76.9% 0.120 327.6);
Tailwind
colors: {
  custom: {
    50: '#e8b7e6',
    500: '#dd98db',
    950: '#000000',
  },
}
SCSS
$custom: #dd98db;
$custom-light: #e8b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98db",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 301.739,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76893,
    "c": 0.11994,
    "h": 327.6
  },
  "luminance": 0.42943
}

Semantic roles & 50–950 ramp

primary
#DD98DB
secondary
#DDEEDD
accent
#BE2C28
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DD98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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