#DC98DD#DC98DD

#DC98DD is a light, vivid purple. Relative luminance 0.429; OKLCH L 76.9% C 0.121 H 326.2°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#DC98DD
RGBrgb(220, 152, 221)
HSLhsl(299, 50%, 73%)
HSVhsv(299, 31%, 87%)
CMYKcmyk(0.5%, 31.2%, 0%, 13.3%)
CIE-LABlab(71.48, 36.50, -24.88)
CIE-LCHlch(71.48, 44.18, 325.72°)
OKLaboklab(76.87% 0.1007 -0.0675)
OKLCHoklch(76.87% 0.121 326.2)
XYZxyz(53.7933, 42.8945, 73.8384)
Luminance0.4289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98DD #99DD98
analogous
#B998DD #DC98DD #DD98BB
triadic
#DC98DD #DDDC98 #98DDDC
tetradic
#DC98DD #DDB998 #99DD98 #98BBDD
square
#DC98DD #DDB998 #99DD98 #98BBDD
split-complementary
#DC98DD #BBDD98 #98DDB9
monochromatic
#BB3EBC #CC6ACE #DC98DD #ECC6EC #F7E8F7

Accessibility & contrast

On white

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

On black

9.58
#DC98DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98DD
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98DD#FFFFFF#000000##000000
##DC98DD1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AAE0
Deuteranopia (green-blind)
#A3B2DB
Tritanopia (blue-blind)
#E09EB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc98dd;
/* rgb */ color: rgb(220, 152, 221);
/* oklch */ color: oklch(76.9% 0.121 326.2);
Tailwind
colors: {
  custom: {
    50: '#e8b7e7',
    500: '#dc98dd',
    950: '#000000',
  },
}
SCSS
$custom: #dc98dd;
$custom-light: #e8b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98dd",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 299.13,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76867,
    "c": 0.12123,
    "h": 326.2
  },
  "luminance": 0.42893
}

Semantic roles & 50–950 ramp

primary
#DC98DD
secondary
#DDEEDD
accent
#BE282A
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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