#D197EA#D197EA

#D197EA is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.1% C 0.131 H 315.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#D197EA
RGBrgb(209, 151, 234)
HSLhsl(282, 66%, 75%)
HSVhsv(282, 35%, 92%)
CMYKcmyk(10.7%, 35.5%, 0%, 8.2%)
CIE-LABlab(70.62, 36.15, -33.44)
CIE-LCHlch(70.62, 49.25, 317.22°)
OKLaboklab(76.11% 0.0929 -0.0919)
OKLCHoklch(76.11% 0.131 315.3)
XYZxyz(52.2101, 41.6302, 83.1110)
Luminance0.4163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D197EA #B0EA97
analogous
#A797EA #D197EA #EA97D9
triadic
#D197EA #EAD197 #97EAD1
tetradic
#D197EA #EAA797 #B0EA97 #97D9EA
square
#D197EA #EAA797 #B0EA97 #97D9EA
split-complementary
#D197EA #D9EA97 #97EAA7
monochromatic
#A431D5 #BA64E0 #D197EA #E8CAF4 #F4E6FA

Accessibility & contrast

On white

2.25
#D197EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#D197EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D197EA
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D197EA#FFFFFF#000000##000000
##D197EA1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA9ED
Deuteranopia (green-blind)
#98AEE7
Tritanopia (blue-blind)
#D0A2B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d197ea;
/* rgb */ color: rgb(209, 151, 234);
/* oklch */ color: oklch(76.1% 0.131 315.3);
Tailwind
colors: {
  custom: {
    50: '#e0b6f1',
    500: '#d197ea',
    950: '#000000',
  },
}
SCSS
$custom: #d197ea;
$custom-light: #e0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d197ea",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 281.928,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76113,
    "c": 0.13064,
    "h": 315.3
  },
  "luminance": 0.41629
}

Semantic roles & 50–950 ramp

primary
#D197EA
secondary
#E1F1DA
accent
#CE174E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D197EA

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

Preview Lab → · Contrast checker → · Palette generator →

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