#DD98FB#DD98FB

#DD98FB is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.2% C 0.154 H 315.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#DD98FB
RGBrgb(221, 152, 251)
HSLhsl(282, 93%, 79%)
HSVhsv(282, 39%, 98%)
CMYKcmyk(12%, 39.4%, 0%, 1.6%)
CIE-LABlab(72.76, 42.64, -39.29)
CIE-LCHlch(72.76, 57.98, 317.34°)
OKLaboklab(78.24% 0.1088 -0.1084)
OKLCHoklch(78.24% 0.154 315.1)
XYZxyz(58.4569, 44.7950, 96.8150)
Luminance0.4479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98FB #B6FB98
analogous
#AC98FB #DD98FB #FB98E8
triadic
#DD98FB #FBDD98 #98FBDD
tetradic
#DD98FB #FBAC98 #B6FB98 #98E8FB
square
#DD98FB #FBAC98 #B6FB98 #98E8FB
split-complementary
#DD98FB #E8FB98 #98FBAC
monochromatic
#B622F6 #CA5DF9 #DD98FB #F0D3FD #F5E2FE

Accessibility & contrast

On white

2.11
#DD98FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#DD98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD98FB
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD98FB#FFFFFF#000000##000000
##DD98FB1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#98B5F8
Tritanopia (blue-blind)
#DBA5BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dd98fb;
/* rgb */ color: rgb(221, 152, 251);
/* oklch */ color: oklch(78.2% 0.154 315.1);
Tailwind
colors: {
  custom: {
    50: '#e9b7fd',
    500: '#dd98fb',
    950: '#000000',
  },
}
SCSS
$custom: #dd98fb;
$custom-light: #e9b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98fb",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 281.818,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78237,
    "c": 0.15359,
    "h": 315.1
  },
  "luminance": 0.44794
}

Semantic roles & 50–950 ramp

primary
#DD98FB
secondary
#DFF6D5
accent
#E60046
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DD98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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