#DD98EC#DD98EC

#DD98EC is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.6% C 0.137 H 320.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#DD98EC
RGBrgb(221, 152, 236)
HSLhsl(289, 69%, 76%)
HSVhsv(289, 36%, 93%)
CMYKcmyk(6.4%, 35.6%, 0%, 7.5%)
CIE-LABlab(72.15, 39.66, -32.06)
CIE-LCHlch(72.15, 51.00, 321.05°)
OKLaboklab(77.58% 0.1056 -0.0877)
OKLCHoklch(77.58% 0.137 320.3)
XYZxyz(56.1854, 43.8864, 84.8519)
Luminance0.4389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98EC #A7EC98
analogous
#B398EC #DD98EC #EC98D1
triadic
#DD98EC #ECDD98 #98ECDD
tetradic
#DD98EC #ECB398 #A7EC98 #98D1EC
square
#DD98EC #ECB398 #A7EC98 #98D1EC
split-complementary
#DD98EC #D1EC98 #98ECB3
monochromatic
#BB31D9 #CC64E2 #DD98EC #EECCF6 #F6E5FA

Accessibility & contrast

On white

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

On black

9.78
#DD98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD98EC
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD98EC#FFFFFF#000000##000000
##DD98EC1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#9FB3E9
Tritanopia (blue-blind)
#DEA2B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dd98ec;
/* rgb */ color: rgb(221, 152, 236);
/* oklch */ color: oklch(77.6% 0.137 320.3);
Tailwind
colors: {
  custom: {
    50: '#e8b7f2',
    500: '#dd98ec',
    950: '#000000',
  },
}
SCSS
$custom: #dd98ec;
$custom-light: #e8b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98ec",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 289.286,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77583,
    "c": 0.1373,
    "h": 320.3
  },
  "luminance": 0.43885
}

Semantic roles & 50–950 ramp

primary
#DD98EC
secondary
#DEF2D9
accent
#D11536
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DD98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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