#DC98DC#DC98DC

#DC98DC is a light, vivid purple. Relative luminance 0.428; OKLCH L 76.8% C 0.120 H 326.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#DC98DC
RGBrgb(220, 152, 220)
HSLhsl(300, 49%, 73%)
HSVhsv(300, 31%, 86%)
CMYKcmyk(0%, 30.9%, 0%, 13.7%)
CIE-LABlab(71.45, 36.32, -24.39)
CIE-LCHlch(71.45, 43.75, 326.12°)
OKLaboklab(76.83% 0.1005 -0.0661)
OKLCHoklch(76.83% 0.12 326.7)
XYZxyz(53.6605, 42.8414, 73.1389)
Luminance0.4284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98DC #98DC98
analogous
#BA98DC #DC98DC #DC98BA
triadic
#DC98DC #DCDC98 #98DCDC
tetradic
#DC98DC #DCBA98 #98DC98 #98BADC
square
#DC98DC #DCBA98 #98DC98 #98BADC
split-complementary
#DC98DC #BADC98 #98DCBA
monochromatic
#BA3FBA #CC6ACC #DC98DC #ECC6EC #F7E8F7

Accessibility & contrast

On white

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

On black

9.57
#DC98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98DC
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98DC#FFFFFF#000000##000000
##DC98DC1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc98dc;
/* rgb */ color: rgb(220, 152, 220);
/* oklch */ color: oklch(76.8% 0.120 326.7);
Tailwind
colors: {
  custom: {
    50: '#e8b7e7',
    500: '#dc98dc',
    950: '#000000',
  },
}
SCSS
$custom: #dc98dc;
$custom-light: #e8b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98dc",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76827,
    "c": 0.12024,
    "h": 326.7
  },
  "luminance": 0.42839
}

Semantic roles & 50–950 ramp

primary
#DC98DC
secondary
#DDEEDD
accent
#BD2929
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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