#DC99EC#DC99EC

#DC99EC is a light, vivid purple. Relative luminance 0.441; OKLCH L 77.6% C 0.135 H 319.7°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#DC99EC
RGBrgb(220, 153, 236)
HSLhsl(288, 69%, 76%)
HSVhsv(288, 35%, 93%)
CMYKcmyk(6.8%, 35.2%, 0%, 7.5%)
CIE-LABlab(72.27, 38.82, -31.89)
CIE-LCHlch(72.27, 50.24, 320.60°)
OKLaboklab(77.65% 0.103 -0.0873)
OKLCHoklch(77.65% 0.135 319.7)
XYZxyz(56.0448, 44.0558, 84.8920)
Luminance0.4405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC99EC #A9EC99
analogous
#B399EC #DC99EC #EC99D3
triadic
#DC99EC #ECDC99 #99ECDC
tetradic
#DC99EC #ECB399 #A9EC99 #99D3EC
square
#DC99EC #ECB399 #A9EC99 #99D3EC
split-complementary
#DC99EC #D3EC99 #99ECB3
monochromatic
#B932D9 #CA65E2 #DC99EC #EECDF6 #F6E5FA

Accessibility & contrast

On white

2.14
#DC99EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#DC99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC99EC
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC99EC#FFFFFF#000000##000000
##DC99EC1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADEF
Deuteranopia (green-blind)
#9FB4E9
Tritanopia (blue-blind)
#DDA3B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dc99ec;
/* rgb */ color: rgb(220, 153, 236);
/* oklch */ color: oklch(77.6% 0.135 319.7);
Tailwind
colors: {
  custom: {
    50: '#e8b8f2',
    500: '#dc99ec',
    950: '#000000',
  },
}
SCSS
$custom: #dc99ec;
$custom-light: #e8b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc99ec",
  "rgb": {
    "r": 220,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 288.434,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77645,
    "c": 0.13503,
    "h": 319.7
  },
  "luminance": 0.44054
}

Semantic roles & 50–950 ramp

primary
#DC99EC
secondary
#DEF2D9
accent
#D11539
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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