#D98DCD#D98DCD

#D98DCD is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.1% C 0.123 H 332.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#D98DCD
RGBrgb(217, 141, 205)
HSLhsl(309, 50%, 70%)
HSVhsv(309, 35%, 85%)
CMYKcmyk(0%, 35%, 5.5%, 14.9%)
CIE-LABlab(68.18, 38.52, -21.11)
CIE-LCHlch(68.18, 43.93, 331.28°)
OKLaboklab(74.1% 0.1095 -0.0569)
OKLCHoklch(74.1% 0.123 332.6)
XYZxyz(49.1591, 38.2115, 62.5319)
Luminance0.3821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DCD #8DD999
analogous
#BF8DD9 #D98DCD #D98DA7
triadic
#D98DCD #CDD98D #8DCDD9
tetradic
#D98DCD #D9BF8D #8DD999 #8DA7D9
square
#D98DCD #D9BF8D #8DD999 #8DA7D9
split-complementary
#D98DCD #A7D98D #8DD9BF
monochromatic
#B13B9E #CA5FB9 #D98DCD #E8BBE1 #F7E8F5

Accessibility & contrast

On white

2.43
#D98DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#D98DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DCD
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DCD#FFFFFF#000000##000000
##D98DCD1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#9FAACB
Tritanopia (blue-blind)
#DF91A4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98dcd;
/* rgb */ color: rgb(217, 141, 205);
/* oklch */ color: oklch(74.1% 0.123 332.6);
Tailwind
colors: {
  custom: {
    50: '#e6afdc',
    500: '#d98dcd',
    950: '#000000',
  },
}
SCSS
$custom: #d98dcd;
$custom-light: #e6afdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d98dcd",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 309.474,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74098,
    "c": 0.12339,
    "h": 332.6
  },
  "luminance": 0.38209
}

Semantic roles & 50–950 ramp

primary
#D98DCD
secondary
#D6EBDA
accent
#BD4028
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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