#D98BDA#D98BDA

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

Color values

HEX#D98BDA
RGBrgb(217, 139, 218)
HSLhsl(299, 52%, 70%)
HSVhsv(299, 36%, 85%)
CMYKcmyk(0.5%, 36.2%, 0%, 14.5%)
CIE-LABlab(68.23, 41.92, -28.25)
CIE-LCHlch(68.23, 50.55, 326.03°)
OKLaboklab(74.29% 0.1159 -0.0769)
OKLCHoklch(74.29% 0.139 326.4)
XYZxyz(50.5017, 38.2810, 71.0449)
Luminance0.3828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98BDA #8CDA8B
analogous
#B28BDA #D98BDA #DA8BB3
triadic
#D98BDA #DAD98B #8BDAD9
tetradic
#D98BDA #DAB28B #8CDA8B #8BB3DA
square
#D98BDA #DAB28B #8CDA8B #8BB3DA
split-complementary
#D98BDA #B3DA8B #8BDAB2
monochromatic
#B039B2 #CA5DCB #D98BDA #E8B9E9 #F7E8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D98BDA#FFFFFF#000000##000000
##D98BDA1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DD
Deuteranopia (green-blind)
#99AAD7
Tritanopia (blue-blind)
#DD92A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98bda;
/* rgb */ color: rgb(217, 139, 218);
/* oklch */ color: oklch(74.3% 0.139 326.4);
Tailwind
colors: {
  custom: {
    50: '#e6aee5',
    500: '#d98bda',
    950: '#000000',
  },
}
SCSS
$custom: #d98bda;
$custom-light: #e6aee5;
$custom-dark: #000000;
JSON
{
  "hex": "#d98bda",
  "rgb": {
    "r": 217,
    "g": 139,
    "b": 218
  },
  "hsl": {
    "h": 299.241,
    "s": 51.634,
    "l": 70
  },
  "oklch": {
    "l": 0.74294,
    "c": 0.13904,
    "h": 326.4
  },
  "luminance": 0.38279
}

Semantic roles & 50–950 ramp

primary
#D98BDA
secondary
#D6EBD5
accent
#BF2628
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161015
muted
#847F84

Preview Lab

Preview with #D98BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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