#DC98DB#DC98DB

#DC98DB is a light, moderate purple. Relative luminance 0.428; OKLCH L 76.8% C 0.119 H 327.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#DC98DB
RGBrgb(220, 152, 219)
HSLhsl(301, 49%, 73%)
HSVhsv(301, 31%, 86%)
CMYKcmyk(0%, 30.9%, 0.5%, 13.7%)
CIE-LABlab(71.41, 36.13, -23.89)
CIE-LCHlch(71.41, 43.32, 326.53°)
OKLaboklab(76.79% 0.1002 -0.0647)
OKLCHoklch(76.79% 0.119 327.2)
XYZxyz(53.5285, 42.7885, 72.4434)
Luminance0.4279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98DB #98DC99
analogous
#BB98DC #DC98DB #DC98B9
triadic
#DC98DB #DBDC98 #98DBDC
tetradic
#DC98DB #DCBB98 #98DC99 #98B9DC
square
#DC98DB #DCBB98 #98DC99 #98B9DC
split-complementary
#DC98DB #B9DC98 #98DCBB
monochromatic
#BA3FB8 #CC6ACB #DC98DB #ECC6EB #F7E8F7

Accessibility & contrast

On white

2.20
#DC98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#DC98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98DB
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98DB#FFFFFF#000000##000000
##DC98DB1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A9DE
Deuteranopia (green-blind)
#A4B2D9
Tritanopia (blue-blind)
#E09EB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc98db;
/* rgb */ color: rgb(220, 152, 219);
/* oklch */ color: oklch(76.8% 0.119 327.2);
Tailwind
colors: {
  custom: {
    50: '#e8b7e6',
    500: '#dc98db',
    950: '#000000',
  },
}
SCSS
$custom: #dc98db;
$custom-light: #e8b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98db",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 300.882,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76788,
    "c": 0.11925,
    "h": 327.2
  },
  "luminance": 0.42787
}

Semantic roles & 50–950 ramp

primary
#DC98DB
secondary
#DDEEDD
accent
#BD2B29
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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