#DC98DA#DC98DA

#DC98DA is a light, moderate purple. Relative luminance 0.427; OKLCH L 76.7% C 0.118 H 327.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#DC98DA
RGBrgb(220, 152, 218)
HSLhsl(302, 49%, 73%)
HSVhsv(302, 31%, 86%)
CMYKcmyk(0%, 30.9%, 0.9%, 13.7%)
CIE-LABlab(71.38, 35.95, -23.40)
CIE-LCHlch(71.38, 42.89, 326.95°)
OKLaboklab(76.75% 0.0999 -0.0633)
OKLCHoklch(76.75% 0.118 327.6)
XYZxyz(53.3972, 42.7360, 71.7522)
Luminance0.4273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98DA #98DC9A
analogous
#BC98DC #DC98DA #DC98B8
triadic
#DC98DA #DADC98 #98DADC
tetradic
#DC98DA #DCBC98 #98DC9A #98B8DC
square
#DC98DA #DCBC98 #98DC9A #98B8DC
split-complementary
#DC98DA #B8DC98 #98DCBC
monochromatic
#BA3FB7 #CC6ACA #DC98DA #ECC6EA #F7E8F7

Accessibility & contrast

On white

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

On black

9.55
#DC98DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98DA
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98DA#FFFFFF#000000##000000
##DC98DA1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc98da;
/* rgb */ color: rgb(220, 152, 218);
/* oklch */ color: oklch(76.7% 0.118 327.6);
Tailwind
colors: {
  custom: {
    50: '#e8b7e5',
    500: '#dc98da',
    950: '#000000',
  },
}
SCSS
$custom: #dc98da;
$custom-light: #e8b7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98da",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 301.765,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76749,
    "c": 0.11828,
    "h": 327.6
  },
  "luminance": 0.42734
}

Semantic roles & 50–950 ramp

primary
#DC98DA
secondary
#DDEEDD
accent
#BD2D29
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161115
muted
#848084

Preview Lab

Preview with #DC98DA

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

Preview Lab → · Contrast checker → · Palette generator →

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