#DD98EB#DD98EB

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

Color values

HEX#DD98EB
RGBrgb(221, 152, 235)
HSLhsl(290, 67%, 76%)
HSVhsv(290, 35%, 92%)
CMYKcmyk(6%, 35.3%, 0%, 7.8%)
CIE-LABlab(72.11, 39.47, -31.57)
CIE-LCHlch(72.11, 50.54, 321.34°)
OKLaboklab(77.54% 0.1054 -0.0863)
OKLCHoklch(77.54% 0.136 320.7)
XYZxyz(56.0406, 43.8285, 84.0888)
Luminance0.4383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98EB #A6EB98
analogous
#B398EB #DD98EB #EB98CF
triadic
#DD98EB #EBDD98 #98EBDD
tetradic
#DD98EB #EBB398 #A6EB98 #98CFEB
square
#DD98EB #EBB398 #A6EB98 #98CFEB
split-complementary
#DD98EB #CFEB98 #98EBB3
monochromatic
#BB32D7 #CC65E1 #DD98EB #EECBF5 #F7E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DD98EB#FFFFFF#000000##000000
##DD98EB1.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)
#8EACEE
Deuteranopia (green-blind)
#9FB3E8
Tritanopia (blue-blind)
#DFA1B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dd98eb;
/* rgb */ color: rgb(221, 152, 235);
/* oklch */ color: oklch(77.5% 0.136 320.7);
Tailwind
colors: {
  custom: {
    50: '#e8b7f1',
    500: '#dd98eb',
    950: '#000000',
  },
}
SCSS
$custom: #dd98eb;
$custom-light: #e8b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98eb",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 289.88,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77541,
    "c": 0.13624,
    "h": 320.7
  },
  "luminance": 0.43827
}

Semantic roles & 50–950 ramp

primary
#DD98EB
secondary
#DEF2D9
accent
#CF1635
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DD98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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