#D98FFD#D98FFD

#D98FFD is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.5% C 0.169 H 313.9°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#D98FFD
RGBrgb(217, 143, 253)
HSLhsl(280, 96%, 78%)
HSVhsv(280, 43%, 99%)
CMYKcmyk(14.2%, 43.5%, 0%, 0.8%)
CIE-LABlab(70.52, 46.66, -43.91)
CIE-LCHlch(70.52, 64.07, 316.74°)
OKLaboklab(76.49% 0.1172 -0.1217)
OKLCHoklch(76.49% 0.169 313.9)
XYZxyz(56.1645, 41.4898, 97.9591)
Luminance0.4149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FFD #B3FD8F
analogous
#A28FFD #D98FFD #FD8FEA
triadic
#D98FFD #FDD98F #8FFDD9
tetradic
#D98FFD #FDA28F #B3FD8F #8FEAFD
square
#D98FFD #FDA28F #B3FD8F #8FEAFD
split-complementary
#D98FFD #EAFD8F #8FFDA2
monochromatic
#B017FB #C553FC #D98FFD #EDCBFE #F5E1FE

Accessibility & contrast

On white

2.26
#D98FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#D98FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FFD
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FFD#FFFFFF#000000##000000
##D98FFD1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#8DAEFA
Tritanopia (blue-blind)
#D69FBA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d98ffd;
/* rgb */ color: rgb(217, 143, 253);
/* oklch */ color: oklch(76.5% 0.169 313.9);
Tailwind
colors: {
  custom: {
    50: '#e6b1fe',
    500: '#d98ffd',
    950: '#000000',
  },
}
SCSS
$custom: #d98ffd;
$custom-light: #e6b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ffd",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 280.364,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7649,
    "c": 0.16892,
    "h": 313.9
  },
  "luminance": 0.41488
}

Semantic roles & 50–950 ramp

primary
#D98FFD
secondary
#E0F7D4
accent
#E6004B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D98FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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