#D98FD2#D98FD2

#D98FD2 is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.6% C 0.124 H 330.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#D98FD2
RGBrgb(217, 143, 210)
HSLhsl(306, 49%, 71%)
HSVhsv(306, 34%, 85%)
CMYKcmyk(0%, 34.1%, 3.2%, 14.9%)
CIE-LABlab(68.79, 38.35, -22.95)
CIE-LCHlch(68.79, 44.69, 329.09°)
OKLaboklab(74.62% 0.1079 -0.062)
OKLCHoklch(74.62% 0.124 330.1)
XYZxyz(50.0698, 39.0519, 65.8606)
Luminance0.3905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FD2 #8FD996
analogous
#BB8FD9 #D98FD2 #D98FAD
triadic
#D98FD2 #D2D98F #8FD2D9
tetradic
#D98FD2 #D9BB8F #8FD996 #8FADD9
square
#D98FD2 #D9BB8F #8FD996 #8FADD9
split-complementary
#D98FD2 #ADD98F #8FD9BB
monochromatic
#B13CA6 #C961C0 #D98FD2 #E9BDE4 #F7E8F6

Accessibility & contrast

On white

2.38
#D98FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#D98FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FD2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FD2#FFFFFF#000000##000000
##D98FD21.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA2D5
Deuteranopia (green-blind)
#9FABD0
Tritanopia (blue-blind)
#DF94A8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d98fd2;
/* rgb */ color: rgb(217, 143, 210);
/* oklch */ color: oklch(74.6% 0.124 330.1);
Tailwind
colors: {
  custom: {
    50: '#e6b1e0',
    500: '#d98fd2',
    950: '#000000',
  },
}
SCSS
$custom: #d98fd2;
$custom-light: #e6b1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fd2",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 305.676,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7462,
    "c": 0.12442,
    "h": 330.1
  },
  "luminance": 0.3905
}

Semantic roles & 50–950 ramp

primary
#D98FD2
secondary
#D8ECDA
accent
#BD3729
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D98FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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