#DD98DF#DD98DF

#DD98DF is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.0% C 0.124 H 325.7°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#DD98DF
RGBrgb(221, 152, 223)
HSLhsl(298, 53%, 74%)
HSVhsv(298, 32%, 87%)
CMYKcmyk(0.9%, 31.8%, 0%, 12.5%)
CIE-LABlab(71.66, 37.19, -25.70)
CIE-LCHlch(71.66, 45.20, 325.36°)
OKLaboklab(77.05% 0.1024 -0.0697)
OKLCHoklch(77.05% 0.124 325.7)
XYZxyz(54.3650, 43.1583, 75.2644)
Luminance0.4316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98DF #9ADF98
analogous
#B998DF #DD98DF #DF98BD
triadic
#DD98DF #DFDD98 #98DFDD
tetradic
#DD98DF #DFB998 #9ADF98 #98BDDF
square
#DD98DF #DFB998 #9ADF98 #98BDDF
split-complementary
#DD98DF #BDDF98 #98DFB9
monochromatic
#BD3CC1 #CE69D0 #DD98DF #ECC7EE #F7E8F8

Accessibility & contrast

On white

2.18
#DD98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#DD98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD98DF
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD98DF#FFFFFF#000000##000000
##DD98DF1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AAE2
Deuteranopia (green-blind)
#A3B3DD
Tritanopia (blue-blind)
#E19FB2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dd98df;
/* rgb */ color: rgb(221, 152, 223);
/* oklch */ color: oklch(77.0% 0.124 325.7);
Tailwind
colors: {
  custom: {
    50: '#e8b7e9',
    500: '#dd98df',
    950: '#000000',
  },
}
SCSS
$custom: #dd98df;
$custom-light: #e8b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98df",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 298.31,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7705,
    "c": 0.12388,
    "h": 325.7
  },
  "luminance": 0.43156
}

Semantic roles & 50–950 ramp

primary
#DD98DF
secondary
#DDEFDC
accent
#C0252A
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DD98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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