#D98CD5#D98CD5

#D98CD5 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.3% C 0.133 H 328.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#D98CD5
RGBrgb(217, 140, 213)
HSLhsl(303, 50%, 70%)
HSVhsv(303, 35%, 85%)
CMYKcmyk(0%, 35.5%, 1.8%, 14.9%)
CIE-LABlab(68.25, 40.48, -25.44)
CIE-LCHlch(68.25, 47.81, 327.85°)
OKLaboklab(74.25% 0.1131 -0.069)
OKLCHoklch(74.25% 0.133 328.6)
XYZxyz(50.0027, 38.3141, 67.6994)
Luminance0.3831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CD5 #8CD990
analogous
#B78CD9 #D98CD5 #D98CAE
triadic
#D98CD5 #D5D98C #8CD5D9
tetradic
#D98CD5 #D9B78C #8CD990 #8CAED9
square
#D98CD5 #D9B78C #8CD990 #8CAED9
split-complementary
#D98CD5 #AED98C #8CD9B7
monochromatic
#B03AAA #CA5EC4 #D98CD5 #E8BAE6 #F7E8F7

Accessibility & contrast

On white

2.42
#D98CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#D98CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CD5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CD5#FFFFFF#000000##000000
##D98CD51.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A0D8
Deuteranopia (green-blind)
#9BAAD2
Tritanopia (blue-blind)
#DE92A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98cd5;
/* rgb */ color: rgb(217, 140, 213);
/* oklch */ color: oklch(74.3% 0.133 328.6);
Tailwind
colors: {
  custom: {
    50: '#e6afe2',
    500: '#d98cd5',
    950: '#000000',
  },
}
SCSS
$custom: #d98cd5;
$custom-light: #e6afe2;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cd5",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 303.117,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.7425,
    "c": 0.1325,
    "h": 328.6
  },
  "luminance": 0.38312
}

Semantic roles & 50–950 ramp

primary
#D98CD5
secondary
#D6EBD7
accent
#BE3028
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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