#D98CDB#D98CDB

#D98CDB is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.5% C 0.138 H 326.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#D98CDB
RGBrgb(217, 140, 219)
HSLhsl(298, 52%, 70%)
HSVhsv(298, 36%, 86%)
CMYKcmyk(0.9%, 36.1%, 0%, 14.1%)
CIE-LABlab(68.48, 41.58, -28.42)
CIE-LCHlch(68.48, 50.36, 325.65°)
OKLaboklab(74.5% 0.1146 -0.0774)
OKLCHoklch(74.5% 0.138 326)
XYZxyz(50.7784, 38.6244, 71.7846)
Luminance0.3862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CDB #8EDB8C
analogous
#B18CDB #D98CDB #DB8CB5
triadic
#D98CDB #DBD98C #8CDBD9
tetradic
#D98CDB #DBB18C #8EDB8C #8CB5DB
square
#D98CDB #DBB18C #8EDB8C #8CB5DB
split-complementary
#D98CDB #B5DB8C #8CDBB1
monochromatic
#B138B4 #CA5DCC #D98CDB #E8BBEA #F7E8F8

Accessibility & contrast

On white

2.41
#D98CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#D98CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CDB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CDB#FFFFFF#000000##000000
##D98CDB1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DE
Deuteranopia (green-blind)
#99AAD8
Tritanopia (blue-blind)
#DD94AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98cdb;
/* rgb */ color: rgb(217, 140, 219);
/* oklch */ color: oklch(74.5% 0.138 326.0);
Tailwind
colors: {
  custom: {
    50: '#e6afe6',
    500: '#d98cdb',
    950: '#000000',
  },
}
SCSS
$custom: #d98cdb;
$custom-light: #e6afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cdb",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 219
  },
  "hsl": {
    "h": 298.481,
    "s": 52.318,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74496,
    "c": 0.13828,
    "h": 326
  },
  "luminance": 0.38622
}

Semantic roles & 50–950 ramp

primary
#D98CDB
secondary
#D7ECD7
accent
#C0262A
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161016
muted
#847F84

Preview Lab

Preview with #D98CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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