#DD98FC#DD98FC

#DD98FC is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.3% C 0.155 H 314.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#DD98FC
RGBrgb(221, 152, 252)
HSLhsl(281, 94%, 79%)
HSVhsv(281, 40%, 99%)
CMYKcmyk(12.3%, 39.7%, 0%, 1.2%)
CIE-LABlab(72.80, 42.84, -39.77)
CIE-LCHlch(72.80, 58.45, 317.13°)
OKLaboklab(78.28% 0.109 -0.1097)
OKLCHoklch(78.28% 0.155 314.8)
XYZxyz(58.6150, 44.8582, 97.6473)
Luminance0.4486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98FC #B7FC98
analogous
#AB98FC #DD98FC #FC98E9
triadic
#DD98FC #FCDD98 #98FCDD
tetradic
#DD98FC #FCAB98 #B7FC98 #98E9FC
square
#DD98FC #FCAB98 #B7FC98 #98E9FC
split-complementary
#DD98FC #E9FC98 #98FCAB
monochromatic
#B621F9 #C95DFA #DD98FC #F1D3FE #F5E1FE

Accessibility & contrast

On white

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

On black

9.97
#DD98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD98FC
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD98FC#FFFFFF#000000##000000
##DD98FC1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#98B5F9
Tritanopia (blue-blind)
#DBA6BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #dd98fc;
/* rgb */ color: rgb(221, 152, 252);
/* oklch */ color: oklch(78.3% 0.155 314.8);
Tailwind
colors: {
  custom: {
    50: '#e9b7fd',
    500: '#dd98fc',
    950: '#000000',
  },
}
SCSS
$custom: #dd98fc;
$custom-light: #e9b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98fc",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 281.4,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78282,
    "c": 0.1547,
    "h": 314.8
  },
  "luminance": 0.44857
}

Semantic roles & 50–950 ramp

primary
#DD98FC
secondary
#DFF6D5
accent
#E60047
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DD98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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