#DC98DE#DC98DE

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

Color values

HEX#DC98DE
RGBrgb(220, 152, 222)
HSLhsl(298, 51%, 73%)
HSVhsv(298, 32%, 87%)
CMYKcmyk(0.9%, 31.5%, 0%, 12.9%)
CIE-LABlab(71.52, 36.69, -25.37)
CIE-LCHlch(71.52, 44.61, 325.33°)
OKLaboklab(76.91% 0.101 -0.0688)
OKLCHoklch(76.91% 0.122 325.7)
XYZxyz(53.9270, 42.9479, 74.5422)
Luminance0.4295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98DE #9ADE98
analogous
#B998DE #DC98DE #DE98BD
triadic
#DC98DE #DEDC98 #98DEDC
tetradic
#DC98DE #DEB998 #9ADE98 #98BDDE
square
#DC98DE #DEB998 #9ADE98 #98BDDE
split-complementary
#DC98DE #BDDE98 #98DEB9
monochromatic
#BB3DBF #CC6ACF #DC98DE #ECC6ED #F7E8F8

Accessibility & contrast

On white

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

On black

9.59
#DC98DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98DE
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98DE#FFFFFF#000000##000000
##DC98DE1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AAE1
Deuteranopia (green-blind)
#A3B2DC
Tritanopia (blue-blind)
#E09EB2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc98de;
/* rgb */ color: rgb(220, 152, 222);
/* oklch */ color: oklch(76.9% 0.122 325.7);
Tailwind
colors: {
  custom: {
    50: '#e8b7e8',
    500: '#dc98de',
    950: '#000000',
  },
}
SCSS
$custom: #dc98de;
$custom-light: #e8b7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98de",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 298.286,
    "s": 51.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76906,
    "c": 0.12223,
    "h": 325.7
  },
  "luminance": 0.42946
}

Semantic roles & 50–950 ramp

primary
#DC98DE
secondary
#DDEFDC
accent
#BF272B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC98DE

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

Preview Lab → · Contrast checker → · Palette generator →

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