#D98CD3#D98CD3

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

Color values

HEX#D98CD3
RGBrgb(217, 140, 211)
HSLhsl(305, 50%, 70%)
HSVhsv(305, 35%, 85%)
CMYKcmyk(0%, 35.5%, 2.8%, 14.9%)
CIE-LABlab(68.18, 40.12, -24.44)
CIE-LCHlch(68.18, 46.98, 328.65°)
OKLaboklab(74.17% 0.1126 -0.0662)
OKLCHoklch(74.17% 0.131 329.6)
XYZxyz(49.7504, 38.2132, 66.3707)
Luminance0.3821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CD3 #8CD992
analogous
#B88CD9 #D98CD3 #D98CAD
triadic
#D98CD3 #D3D98C #8CD3D9
tetradic
#D98CD3 #D9B88C #8CD992 #8CADD9
square
#D98CD3 #D9B88C #8CD992 #8CADD9
split-complementary
#D98CD3 #ADD98C #8CD9B8
monochromatic
#B03AA7 #CA5EC1 #D98CD3 #E8BAE5 #F7E8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D98CD3#FFFFFF#000000##000000
##D98CD31.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)
#89A0D6
Deuteranopia (green-blind)
#9CAAD1
Tritanopia (blue-blind)
#DF92A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98cd3;
/* rgb */ color: rgb(217, 140, 211);
/* oklch */ color: oklch(74.2% 0.131 329.6);
Tailwind
colors: {
  custom: {
    50: '#e6afe0',
    500: '#d98cd3',
    950: '#000000',
  },
}
SCSS
$custom: #d98cd3;
$custom-light: #e6afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cd3",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 304.675,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.7417,
    "c": 0.13063,
    "h": 329.6
  },
  "luminance": 0.38211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D98CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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