#DD98FA#DD98FA

#DD98FA is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.2% C 0.152 H 315.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#DD98FA
RGBrgb(221, 152, 250)
HSLhsl(282, 91%, 79%)
HSVhsv(282, 39%, 98%)
CMYKcmyk(11.6%, 39.2%, 0%, 2%)
CIE-LABlab(72.72, 42.43, -38.81)
CIE-LCHlch(72.72, 57.51, 317.55°)
OKLaboklab(78.19% 0.1086 -0.107)
OKLCHoklch(78.19% 0.152 315.4)
XYZxyz(58.2997, 44.7321, 95.9870)
Luminance0.4473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD98FA #B5FA98
analogous
#AC98FA #DD98FA #FA98E6
triadic
#DD98FA #FADD98 #98FADD
tetradic
#DD98FA #FAAC98 #B5FA98 #98E6FA
square
#DD98FA #FAAC98 #B5FA98 #98E6FA
split-complementary
#DD98FA #E6FA98 #98FAAC
monochromatic
#B623F4 #CA5EF7 #DD98FA #F0D2FD #F5E2FE

Accessibility & contrast

On white

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

On black

9.95
#DD98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD98FA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD98FA#FFFFFF#000000##000000
##DD98FA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFE
Deuteranopia (green-blind)
#99B4F7
Tritanopia (blue-blind)
#DCA5BD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dd98fa;
/* rgb */ color: rgb(221, 152, 250);
/* oklch */ color: oklch(78.2% 0.152 315.4);
Tailwind
colors: {
  custom: {
    50: '#e9b7fc',
    500: '#dd98fa',
    950: '#000000',
  },
}
SCSS
$custom: #dd98fa;
$custom-light: #e9b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dd98fa",
  "rgb": {
    "r": 221,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 282.245,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78192,
    "c": 0.15248,
    "h": 315.4
  },
  "luminance": 0.44731
}

Semantic roles & 50–950 ramp

primary
#DD98FA
secondary
#DFF6D5
accent
#E60044
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DD98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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