#DD98F2#DD98F2

#DD98F2 is a light, vivid purple. Relative luminance 0.442; OKLCH L 77.8% C 0.144 H 318.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#DD98F2
RGBrgb(221, 152, 242)
HSLhsl(286, 78%, 77%)
HSVhsv(286, 37%, 95%)
CMYKcmyk(8.7%, 37.2%, 0%, 5.1%)
CIE-LABlab(72.39, 40.84, -34.97)
CIE-LCHlch(72.39, 53.76, 319.43°)
OKLaboklab(77.84% 0.107 -0.096)
OKLCHoklch(77.84% 0.144 318.1)
XYZxyz(57.0718, 44.2410, 89.5201)
Luminance0.4424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98F2 #ADF298
analogous
#B098F2 #DD98F2 #F298DA
triadic
#DD98F2 #F2DD98 #98F2DD
tetradic
#DD98F2 #F2B098 #ADF298 #98DAF2
square
#DD98F2 #F2B098 #ADF298 #98DAF2
split-complementary
#DD98F2 #DAF298 #98F2B0
monochromatic
#B92BE4 #CB62EB #DD98F2 #EFCEF9 #F6E4FC

Accessibility & contrast

On white

2.13
#DD98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#DD98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD98F2
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD98F2#FFFFFF#000000##000000
##DD98F21.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#DDA3BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dd98f2;
/* rgb */ color: rgb(221, 152, 242);
/* oklch */ color: oklch(77.8% 0.144 318.1);
Tailwind
colors: {
  custom: {
    50: '#e9b7f6',
    500: '#dd98f2',
    950: '#000000',
  },
}
SCSS
$custom: #dd98f2;
$custom-light: #e9b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98f2",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 286,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7784,
    "c": 0.14374,
    "h": 318.1
  },
  "luminance": 0.44239
}

Semantic roles & 50–950 ramp

primary
#DD98F2
secondary
#DEF3D8
accent
#DA0C3C
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DD98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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