#D98CD2#D98CD2

#D98CD2 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.1% C 0.130 H 330.0°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#D98CD2
RGBrgb(217, 140, 210)
HSLhsl(305, 50%, 70%)
HSVhsv(305, 35%, 85%)
CMYKcmyk(0%, 35.5%, 3.2%, 14.9%)
CIE-LABlab(68.14, 39.94, -23.95)
CIE-LCHlch(68.14, 46.57, 329.06°)
OKLaboklab(74.13% 0.1124 -0.0648)
OKLCHoklch(74.13% 0.13 330)
XYZxyz(49.6255, 38.1632, 65.7125)
Luminance0.3816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CD2 #8CD993
analogous
#BA8CD9 #D98CD2 #D98CAB
triadic
#D98CD2 #D2D98C #8CD2D9
tetradic
#D98CD2 #D9BA8C #8CD993 #8CABD9
square
#D98CD2 #D9BA8C #8CD993 #8CABD9
split-complementary
#D98CD2 #ABD98C #8CD9BA
monochromatic
#B03AA6 #CA5EC0 #D98CD2 #E8BAE4 #F7E8F6

Accessibility & contrast

On white

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

On black

8.63
#D98CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CD2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CD2#FFFFFF#000000##000000
##D98CD21.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A0D5
Deuteranopia (green-blind)
#9CAAD0
Tritanopia (blue-blind)
#DF91A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98cd2;
/* rgb */ color: rgb(217, 140, 210);
/* oklch */ color: oklch(74.1% 0.130 330.0);
Tailwind
colors: {
  custom: {
    50: '#e6afe0',
    500: '#d98cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d98cd2;
$custom-light: #e6afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cd2",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 305.455,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.7413,
    "c": 0.1297,
    "h": 330
  },
  "luminance": 0.38161
}

Semantic roles & 50–950 ramp

primary
#D98CD2
secondary
#D6EBD8
accent
#BE3528
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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