#DD98EF#DD98EF

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

Color values

HEX#DD98EF
RGBrgb(221, 152, 239)
HSLhsl(288, 73%, 77%)
HSVhsv(288, 36%, 94%)
CMYKcmyk(7.5%, 36.4%, 0%, 6.3%)
CIE-LABlab(72.27, 40.25, -33.52)
CIE-LCHlch(72.27, 52.37, 320.21°)
OKLaboklab(77.71% 0.1063 -0.0919)
OKLCHoklch(77.71% 0.141 319.2)
XYZxyz(56.6250, 44.0622, 87.1666)
Luminance0.4406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98EF #AAEF98
analogous
#B298EF #DD98EF #EF98D6
triadic
#DD98EF #EFDD98 #98EFDD
tetradic
#DD98EF #EFB298 #AAEF98 #98D6EF
square
#DD98EF #EFB298 #AAEF98 #98D6EF
split-complementary
#DD98EF #D6EF98 #98EFB2
monochromatic
#BA2EDF #CC63E7 #DD98EF #EECDF7 #F6E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DD98EF#FFFFFF#000000##000000
##DD98EF1.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)
#8CADF2
Deuteranopia (green-blind)
#9DB4EC
Tritanopia (blue-blind)
#DEA2B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dd98ef;
/* rgb */ color: rgb(221, 152, 239);
/* oklch */ color: oklch(77.7% 0.141 319.2);
Tailwind
colors: {
  custom: {
    50: '#e9b7f4',
    500: '#dd98ef',
    950: '#000000',
  },
}
SCSS
$custom: #dd98ef;
$custom-light: #e9b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98ef",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 287.586,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7771,
    "c": 0.1405,
    "h": 319.2
  },
  "luminance": 0.44061
}

Semantic roles & 50–950 ramp

primary
#DD98EF
secondary
#DEF3D8
accent
#D51039
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DD98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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