#DC98EE#DC98EE

#DC98EE is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.6% C 0.139 H 319.1°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#DC98EE
RGBrgb(220, 152, 238)
HSLhsl(287, 72%, 76%)
HSVhsv(287, 36%, 93%)
CMYKcmyk(7.6%, 36.1%, 0%, 6.7%)
CIE-LABlab(72.13, 39.75, -33.20)
CIE-LCHlch(72.13, 51.79, 320.13°)
OKLaboklab(77.57% 0.1049 -0.091)
OKLCHoklch(77.57% 0.139 319.1)
XYZxyz(56.1740, 43.8467, 86.3765)
Luminance0.4385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98EE #AAEE98
analogous
#B198EE #DC98EE #EE98D5
triadic
#DC98EE #EEDC98 #98EEDC
tetradic
#DC98EE #EEB198 #AAEE98 #98D5EE
square
#DC98EE #EEB198 #AAEE98 #98D5EE
split-complementary
#DC98EE #D5EE98 #98EEB1
monochromatic
#B82FDD #CA63E5 #DC98EE #EECDF7 #F6E5FB

Accessibility & contrast

On white

2.15
#DC98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#DC98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98EE
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98EE#FFFFFF#000000##000000
##DC98EE1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF1
Deuteranopia (green-blind)
#9DB3EB
Tritanopia (blue-blind)
#DDA2B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dc98ee;
/* rgb */ color: rgb(220, 152, 238);
/* oklch */ color: oklch(77.6% 0.139 319.1);
Tailwind
colors: {
  custom: {
    50: '#e8b7f3',
    500: '#dc98ee',
    950: '#000000',
  },
}
SCSS
$custom: #dc98ee;
$custom-light: #e8b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98ee",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 287.442,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77565,
    "c": 0.13889,
    "h": 319.1
  },
  "luminance": 0.43845
}

Semantic roles & 50–950 ramp

primary
#DC98EE
secondary
#DEF2D9
accent
#D4123A
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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