#DC98E2#DC98E2

#DC98E2 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.1% C 0.126 H 323.9°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#DC98E2
RGBrgb(220, 152, 226)
HSLhsl(295, 56%, 74%)
HSVhsv(295, 33%, 89%)
CMYKcmyk(2.7%, 32.7%, 0%, 11.4%)
CIE-LABlab(71.67, 37.44, -27.34)
CIE-LCHlch(71.67, 46.36, 323.86°)
OKLaboklab(77.07% 0.102 -0.0744)
OKLCHoklch(77.07% 0.126 323.9)
XYZxyz(54.4694, 43.1649, 77.3992)
Luminance0.4316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98E2 #9EE298
analogous
#B798E2 #DC98E2 #E298C3
triadic
#DC98E2 #E2DC98 #98E2DC
tetradic
#DC98E2 #E2B798 #9EE298 #98C3E2
square
#DC98E2 #E2B798 #9EE298 #98C3E2
split-complementary
#DC98E2 #C3E298 #98E2B7
monochromatic
#BC38C7 #CC68D5 #DC98E2 #ECC8EF #F7E7F8

Accessibility & contrast

On white

2.18
#DC98E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#DC98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98E2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98E2#FFFFFF#000000##000000
##DC98E21.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AAE5
Deuteranopia (green-blind)
#A2B2E0
Tritanopia (blue-blind)
#DF9FB3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc98e2;
/* rgb */ color: rgb(220, 152, 226);
/* oklch */ color: oklch(77.1% 0.126 323.9);
Tailwind
colors: {
  custom: {
    50: '#e8b7eb',
    500: '#dc98e2',
    950: '#000000',
  },
}
SCSS
$custom: #dc98e2;
$custom-light: #e8b7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98e2",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 295.135,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77066,
    "c": 0.12628,
    "h": 323.9
  },
  "luminance": 0.43163
}

Semantic roles & 50–950 ramp

primary
#DC98E2
secondary
#DDF0DB
accent
#C4222F
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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