#D198E9#D198E9

#D198E9 is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.2% C 0.128 H 315.5°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#D198E9
RGBrgb(209, 152, 233)
HSLhsl(282, 65%, 75%)
HSVhsv(282, 35%, 91%)
CMYKcmyk(10.3%, 34.8%, 0%, 8.6%)
CIE-LABlab(70.80, 35.40, -32.61)
CIE-LCHlch(70.80, 48.13, 317.35°)
OKLaboklab(76.24% 0.0912 -0.0895)
OKLCHoklch(76.24% 0.128 315.5)
XYZxyz(52.2285, 41.8961, 82.4104)
Luminance0.4189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D198E9 #B0E998
analogous
#A898E9 #D198E9 #E998D8
triadic
#D198E9 #E9D198 #98E9D1
tetradic
#D198E9 #E9A898 #B0E998 #98D8E9
square
#D198E9 #E9A898 #B0E998 #98D8E9
split-complementary
#D198E9 #D8E998 #98E9A8
monochromatic
#A433D3 #BA66DE #D198E9 #E8CAF4 #F4E6FA

Accessibility & contrast

On white

2.24
#D198E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#D198E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D198E9
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D198E9#FFFFFF#000000##000000
##D198E91.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAAEC
Deuteranopia (green-blind)
#99AFE7
Tritanopia (blue-blind)
#D0A2B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d198e9;
/* rgb */ color: rgb(209, 152, 233);
/* oklch */ color: oklch(76.2% 0.128 315.5);
Tailwind
colors: {
  custom: {
    50: '#e0b7f0',
    500: '#d198e9',
    950: '#000000',
  },
}
SCSS
$custom: #d198e9;
$custom-light: #e0b7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d198e9",
  "rgb": {
    "r": 209,
    "g": 152,
    "b": 233
  },
  "hsl": {
    "h": 282.222,
    "s": 64.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7624,
    "c": 0.12779,
    "h": 315.5
  },
  "luminance": 0.41895
}

Semantic roles & 50–950 ramp

primary
#D198E9
secondary
#E1F1DA
accent
#CD194E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D198E9

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

Preview Lab → · Contrast checker → · Palette generator →

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