#D98BE6#D98BE6

#D98BE6 is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.8% C 0.151 H 321.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#D98BE6
RGBrgb(217, 139, 230)
HSLhsl(291, 65%, 72%)
HSVhsv(291, 40%, 90%)
CMYKcmyk(5.7%, 39.6%, 0%, 9.8%)
CIE-LABlab(68.70, 44.18, -34.14)
CIE-LCHlch(68.70, 55.84, 322.30°)
OKLaboklab(74.81% 0.1185 -0.0936)
OKLCHoklch(74.81% 0.151 321.7)
XYZxyz(52.1292, 38.9320, 79.6162)
Luminance0.3893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98BE6 #98E68B
analogous
#AC8BE6 #D98BE6 #E68BC5
triadic
#D98BE6 #E6D98B #8BE6D9
tetradic
#D98BE6 #E6AC8B #98E68B #8BC5E6
square
#D98BE6 #E6AC8B #98E68B #8BC5E6
split-complementary
#D98BE6 #C5E68B #8BE6AC
monochromatic
#B42CCB #C959DB #D98BE6 #E9BDF1 #F7E6FA

Accessibility & contrast

On white

2.39
#D98BE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#D98BE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98BE6
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98BE6#FFFFFF#000000##000000
##D98BE61.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A2E9
Deuteranopia (green-blind)
#94ABE3
Tritanopia (blue-blind)
#DB95AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d98be6;
/* rgb */ color: rgb(217, 139, 230);
/* oklch */ color: oklch(74.8% 0.151 321.7);
Tailwind
colors: {
  custom: {
    50: '#e6aeee',
    500: '#d98be6',
    950: '#000000',
  },
}
SCSS
$custom: #d98be6;
$custom-light: #e6aeee;
$custom-dark: #000000;
JSON
{
  "hex": "#d98be6",
  "rgb": {
    "r": 217,
    "g": 139,
    "b": 230
  },
  "hsl": {
    "h": 291.429,
    "s": 64.539,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74808,
    "c": 0.15106,
    "h": 321.7
  },
  "luminance": 0.3893
}

Semantic roles & 50–950 ramp

primary
#D98BE6
secondary
#DDF1DA
accent
#CC1933
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D98BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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