#DC98EA#DC98EA

#DC98EA is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.4% C 0.135 H 320.6°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#DC98EA
RGBrgb(220, 152, 234)
HSLhsl(290, 66%, 76%)
HSVhsv(290, 35%, 92%)
CMYKcmyk(6%, 35%, 0%, 8.2%)
CIE-LABlab(71.97, 38.97, -31.26)
CIE-LCHlch(71.97, 49.96, 321.26°)
OKLaboklab(77.4% 0.104 -0.0855)
OKLCHoklch(77.4% 0.135 320.6)
XYZxyz(55.5929, 43.6143, 83.3159)
Luminance0.4361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98EA #A6EA98
analogous
#B398EA #DC98EA #EA98CF
triadic
#DC98EA #EADC98 #98EADC
tetradic
#DC98EA #EAB398 #A6EA98 #98CFEA
square
#DC98EA #EAB398 #A6EA98 #98CFEA
split-complementary
#DC98EA #CFEA98 #98EAB3
monochromatic
#B932D5 #CB65E0 #DC98EA #EDCBF4 #F6E6FA

Accessibility & contrast

On white

2.16
#DC98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#DC98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98EA
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98EA#FFFFFF#000000##000000
##DC98EA1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACED
Deuteranopia (green-blind)
#9FB3E7
Tritanopia (blue-blind)
#DEA1B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc98ea;
/* rgb */ color: rgb(220, 152, 234);
/* oklch */ color: oklch(77.4% 0.135 320.6);
Tailwind
colors: {
  custom: {
    50: '#e8b7f1',
    500: '#dc98ea',
    950: '#000000',
  },
}
SCSS
$custom: #dc98ea;
$custom-light: #e8b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98ea",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 289.756,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77396,
    "c": 0.13462,
    "h": 320.6
  },
  "luminance": 0.43613
}

Semantic roles & 50–950 ramp

primary
#DC98EA
secondary
#DEF1DA
accent
#CE1837
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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