#D98CED#D98CED

#D98CED is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.3% C 0.157 H 319.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#D98CED
RGBrgb(217, 140, 237)
HSLhsl(288, 73%, 74%)
HSVhsv(288, 41%, 93%)
CMYKcmyk(8.4%, 40.9%, 0%, 7.1%)
CIE-LABlab(69.20, 45.02, -37.22)
CIE-LCHlch(69.20, 58.41, 320.42°)
OKLaboklab(75.28% 0.1185 -0.1024)
OKLCHoklch(75.28% 0.157 319.2)
XYZxyz(53.2774, 39.6240, 84.9461)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CED #A0ED8C
analogous
#A98CED #D98CED #ED8CD1
triadic
#D98CED #EDD98C #8CEDD9
tetradic
#D98CED #EDA98C #A0ED8C #8CD1ED
square
#D98CED #EDA98C #A0ED8C #8CD1ED
split-complementary
#D98CED #D1ED8C #8CEDA9
monochromatic
#B622DC #C857E5 #D98CED #EAC1F5 #F6E5FB

Accessibility & contrast

On white

2.35
#D98CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#D98CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CED
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CED#FFFFFF#000000##000000
##D98CED1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F1
Deuteranopia (green-blind)
#92ACEA
Tritanopia (blue-blind)
#DA98B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d98ced;
/* rgb */ color: rgb(217, 140, 237);
/* oklch */ color: oklch(75.3% 0.157 319.2);
Tailwind
colors: {
  custom: {
    50: '#e6aff3',
    500: '#d98ced',
    950: '#000000',
  },
}
SCSS
$custom: #d98ced;
$custom-light: #e6aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ced",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 287.629,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75277,
    "c": 0.15664,
    "h": 319.2
  },
  "luminance": 0.39622
}

Semantic roles & 50–950 ramp

primary
#D98CED
secondary
#DEF3D8
accent
#D51039
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #D98CED

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

Preview Lab → · Contrast checker → · Palette generator →

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