#D098CD#D098CD

#D098CD is a light, moderate purple. Relative luminance 0.403; OKLCH L 75.0% C 0.097 H 328.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D098CD
RGBrgb(208, 152, 205)
HSLhsl(303, 37%, 71%)
HSVhsv(303, 27%, 82%)
CMYKcmyk(0%, 26.9%, 1.4%, 18.4%)
CIE-LABlab(69.67, 29.64, -18.94)
CIE-LCHlch(69.67, 35.17, 327.42°)
OKLaboklab(75.01% 0.0826 -0.051)
OKLCHoklch(75.01% 0.097 328.3)
XYZxyz(48.2591, 40.2757, 62.9776)
Luminance0.4027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D098CD #98D09B
analogous
#B798D0 #D098CD #D098B1
triadic
#D098CD #CDD098 #98CDD0
tetradic
#D098CD #D0B798 #98D09B #98B1D0
square
#D098CD #D0B798 #98D09B #98B1D0
split-complementary
#D098CD #B1D098 #98D0B7
monochromatic
#A34A9E #BD6EB9 #D098CD #E3C2E1 #F5EAF5

Accessibility & contrast

On white

2.32
#D098CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#D098CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D098CD
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D098CD#FFFFFF#000000##000000
##D098CD1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A6CF
Deuteranopia (green-blind)
#A2ADCB
Tritanopia (blue-blind)
#D49CAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d098cd;
/* rgb */ color: rgb(208, 152, 205);
/* oklch */ color: oklch(75.0% 0.097 328.3);
Tailwind
colors: {
  custom: {
    50: '#dfb7dc',
    500: '#d098cd',
    950: '#000000',
  },
}
SCSS
$custom: #d098cd;
$custom-light: #dfb7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d098cd",
  "rgb": {
    "r": 208,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 303.214,
    "s": 37.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75013,
    "c": 0.09704,
    "h": 328.3
  },
  "luminance": 0.40274
}

Semantic roles & 50–950 ramp

primary
#D098CD
secondary
#DAEADB
accent
#B03C35
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D098CD

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

Preview Lab → · Contrast checker → · Palette generator →

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