#D98BD2#D98BD2

#D98BD2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.0% C 0.131 H 330.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D98BD2
RGBrgb(217, 139, 210)
HSLhsl(305, 51%, 70%)
HSVhsv(305, 36%, 85%)
CMYKcmyk(0%, 35.9%, 3.2%, 14.9%)
CIE-LABlab(67.93, 40.47, -24.27)
CIE-LCHlch(67.93, 47.19, 329.05°)
OKLaboklab(73.97% 0.1139 -0.0657)
OKLCHoklch(73.97% 0.131 330)
XYZxyz(49.4800, 37.8723, 65.6640)
Luminance0.3787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98BD2 #8BD992
analogous
#B98BD9 #D98BD2 #D98BAB
triadic
#D98BD2 #D2D98B #8BD2D9
tetradic
#D98BD2 #D9B98B #8BD992 #8BABD9
square
#D98BD2 #D9B98B #8BD992 #8BABD9
split-complementary
#D98BD2 #ABD98B #8BD9B9
monochromatic
#B03AA5 #CA5DC0 #D98BD2 #E8B9E4 #F7E7F6

Accessibility & contrast

On white

2.45
#D98BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D98BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98BD2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98BD2#FFFFFF#000000##000000
##D98BD21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#889FD5
Deuteranopia (green-blind)
#9CA9CF
Tritanopia (blue-blind)
#DF91A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d98bd2;
/* rgb */ color: rgb(217, 139, 210);
/* oklch */ color: oklch(74.0% 0.131 330.0);
Tailwind
colors: {
  custom: {
    50: '#e6aee0',
    500: '#d98bd2',
    950: '#000000',
  },
}
SCSS
$custom: #d98bd2;
$custom-light: #e6aee0;
$custom-dark: #000000;
JSON
{
  "hex": "#d98bd2",
  "rgb": {
    "r": 217,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 305.385,
    "s": 50.649,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73968,
    "c": 0.13145,
    "h": 330
  },
  "luminance": 0.3787
}

Semantic roles & 50–950 ramp

primary
#D98BD2
secondary
#D5EBD7
accent
#BE3527
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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