#DC98E4#DC98E4

#DC98E4 is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.1% C 0.128 H 323.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#DC98E4
RGBrgb(220, 152, 228)
HSLhsl(294, 58%, 75%)
HSVhsv(294, 33%, 89%)
CMYKcmyk(3.5%, 33.3%, 0%, 10.6%)
CIE-LABlab(71.74, 37.82, -28.33)
CIE-LCHlch(71.74, 47.25, 323.17°)
OKLaboklab(77.15% 0.1025 -0.0772)
OKLCHoklch(77.15% 0.128 323)
XYZxyz(54.7455, 43.2753, 78.8529)
Luminance0.4327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98E4 #A0E498
analogous
#B698E4 #DC98E4 #E498C6
triadic
#DC98E4 #E4DC98 #98E4DC
tetradic
#DC98E4 #E4B698 #A0E498 #98C6E4
square
#DC98E4 #E4B698 #A0E498 #98C6E4
split-complementary
#DC98E4 #C6E498 #98E4B6
monochromatic
#BB37CB #CC68D7 #DC98E4 #ECC8F1 #F7E7F9

Accessibility & contrast

On white

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

On black

9.65
#DC98E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98E4
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98E4#FFFFFF#000000##000000
##DC98E41.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ABE7
Deuteranopia (green-blind)
#A1B3E1
Tritanopia (blue-blind)
#DFA0B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc98e4;
/* rgb */ color: rgb(220, 152, 228);
/* oklch */ color: oklch(77.1% 0.128 323.0);
Tailwind
colors: {
  custom: {
    50: '#e8b7ec',
    500: '#dc98e4',
    950: '#000000',
  },
}
SCSS
$custom: #dc98e4;
$custom-light: #e8b7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98e4",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 228
  },
  "hsl": {
    "h": 293.684,
    "s": 58.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77147,
    "c": 0.12833,
    "h": 323
  },
  "luminance": 0.43274
}

Semantic roles & 50–950 ramp

primary
#DC98E4
secondary
#DDF0DB
accent
#C61F31
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC98E4

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

Preview Lab → · Contrast checker → · Palette generator →

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