#D198EA#D198EA

#D198EA is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.3% C 0.129 H 315.2°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#D198EA
RGBrgb(209, 152, 234)
HSLhsl(282, 66%, 76%)
HSVhsv(282, 35%, 92%)
CMYKcmyk(10.7%, 35%, 0%, 8.2%)
CIE-LABlab(70.84, 35.61, -33.10)
CIE-LCHlch(70.84, 48.61, 317.09°)
OKLaboklab(76.28% 0.0915 -0.0909)
OKLCHoklch(76.28% 0.129 315.2)
XYZxyz(52.3717, 41.9534, 83.1649)
Luminance0.4195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D198EA #B1EA98
analogous
#A898EA #D198EA #EA98DA
triadic
#D198EA #EAD198 #98EAD1
tetradic
#D198EA #EAA898 #B1EA98 #98DAEA
square
#D198EA #EAA898 #B1EA98 #98DAEA
split-complementary
#D198EA #DAEA98 #98EAA8
monochromatic
#A432D5 #BA65E0 #D198EA #E8CBF4 #F4E6FA

Accessibility & contrast

On white

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

On black

9.39
#D198EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D198EA
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D198EA#FFFFFF#000000##000000
##D198EA1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d198ea;
/* rgb */ color: rgb(209, 152, 234);
/* oklch */ color: oklch(76.3% 0.129 315.2);
Tailwind
colors: {
  custom: {
    50: '#e0b7f1',
    500: '#d198ea',
    950: '#000000',
  },
}
SCSS
$custom: #d198ea;
$custom-light: #e0b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d198ea",
  "rgb": {
    "r": 209,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 281.707,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76283,
    "c": 0.12893,
    "h": 315.2
  },
  "luminance": 0.41952
}

Semantic roles & 50–950 ramp

primary
#D198EA
secondary
#E1F1DA
accent
#CE184F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D198EA

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

Preview Lab → · Contrast checker → · Palette generator →

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