#D198CD#D198CD

#D198CD is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.1% C 0.098 H 328.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#D198CD
RGBrgb(209, 152, 205)
HSLhsl(304, 38%, 71%)
HSVhsv(304, 27%, 82%)
CMYKcmyk(0%, 27.3%, 1.9%, 18%)
CIE-LABlab(69.77, 29.97, -18.77)
CIE-LCHlch(69.77, 35.37, 327.94°)
OKLaboklab(75.12% 0.0837 -0.0505)
OKLCHoklch(75.12% 0.098 328.9)
XYZxyz(48.5412, 40.4212, 62.9909)
Luminance0.4042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D198CD #98D19C
analogous
#B898D1 #D198CD #D198B0
triadic
#D198CD #CDD198 #98CDD1
tetradic
#D198CD #D1B898 #98D19C #98B0D1
square
#D198CD #D1B898 #98D19C #98B0D1
split-complementary
#D198CD #B0D198 #98D1B8
monochromatic
#A54A9F #BE6EB8 #D198CD #E4C2E2 #F6EAF5

Accessibility & contrast

On white

2.31
#D198CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#D198CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D198CD
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D198CD#FFFFFF#000000##000000
##D198CD1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d198cd;
/* rgb */ color: rgb(209, 152, 205);
/* oklch */ color: oklch(75.1% 0.098 328.9);
Tailwind
colors: {
  custom: {
    50: '#e0b7dc',
    500: '#d198cd',
    950: '#000000',
  },
}
SCSS
$custom: #d198cd;
$custom-light: #e0b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d198cd",
  "rgb": {
    "r": 209,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 304.211,
    "s": 38.255,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75116,
    "c": 0.09777,
    "h": 328.9
  },
  "luminance": 0.4042
}

Semantic roles & 50–950 ramp

primary
#D198CD
secondary
#DBEADC
accent
#B13D34
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D198CD

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

Preview Lab → · Contrast checker → · Palette generator →

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