#DC98D2#DC98D2

#DC98D2 is a light, moderate purple. Relative luminance 0.423; OKLCH L 76.4% C 0.111 H 331.9°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#DC98D2
RGBrgb(220, 152, 210)
HSLhsl(309, 49%, 73%)
HSVhsv(309, 31%, 86%)
CMYKcmyk(0%, 30.9%, 4.5%, 13.7%)
CIE-LABlab(71.10, 34.51, -19.41)
CIE-LCHlch(71.10, 39.59, 330.64°)
OKLaboklab(76.44% 0.0977 -0.0522)
OKLCHoklch(76.44% 0.111 331.9)
XYZxyz(52.3756, 42.3274, 66.3714)
Luminance0.4233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98D2 #98DCA2
analogous
#C498DC #DC98D2 #DC98B0
triadic
#DC98D2 #D2DC98 #98D2DC
tetradic
#DC98D2 #DCC498 #98DCA2 #98B0DC
square
#DC98D2 #DCC498 #98DCA2 #98B0DC
split-complementary
#DC98D2 #B0DC98 #98DCC4
monochromatic
#BA3FA8 #CC6ABE #DC98D2 #ECC6E6 #F7E8F5

Accessibility & contrast

On white

2.22
#DC98D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#DC98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98D2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98D2#FFFFFF#000000##000000
##DC98D21.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A8D4
Deuteranopia (green-blind)
#A7B1D0
Tritanopia (blue-blind)
#E29CAD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc98d2;
/* rgb */ color: rgb(220, 152, 210);
/* oklch */ color: oklch(76.4% 0.111 331.9);
Tailwind
colors: {
  custom: {
    50: '#e8b7e0',
    500: '#dc98d2',
    950: '#000000',
  },
}
SCSS
$custom: #dc98d2;
$custom-light: #e8b7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98d2",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 308.824,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76445,
    "c": 0.11073,
    "h": 331.9
  },
  "luminance": 0.42325
}

Semantic roles & 50–950 ramp

primary
#DC98D2
secondary
#DDEEDF
accent
#BD3F29
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DC98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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