#D197DF#D197DF

#D197DF is a light, moderate purple. Relative luminance 0.410; OKLCH L 75.6% C 0.118 H 319.7°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D197DF
RGBrgb(209, 151, 223)
HSLhsl(288, 53%, 73%)
HSVhsv(288, 32%, 87%)
CMYKcmyk(6.3%, 32.3%, 0%, 12.5%)
CIE-LABlab(70.19, 33.94, -28.06)
CIE-LCHlch(70.19, 44.04, 320.42°)
OKLaboklab(75.65% 0.0902 -0.0766)
OKLCHoklch(75.65% 0.118 319.7)
XYZxyz(50.6786, 41.0176, 75.0453)
Luminance0.4102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D197DF #A5DF97
analogous
#AD97DF #D197DF #DF97C9
triadic
#D197DF #DFD197 #97DFD1
tetradic
#D197DF #DFAD97 #A5DF97 #97C9DF
square
#D197DF #DFAD97 #A5DF97 #97C9DF
split-complementary
#D197DF #C9DF97 #97DFAD
monochromatic
#A63BC0 #BC68D1 #D197DF #E6C6ED #F5E8F8

Accessibility & contrast

On white

2.28
#D197DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#D197DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D197DF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D197DF#FFFFFF#000000##000000
##D197DF1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA8E2
Deuteranopia (green-blind)
#9CAEDD
Tritanopia (blue-blind)
#D29FB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d197df;
/* rgb */ color: rgb(209, 151, 223);
/* oklch */ color: oklch(75.6% 0.118 319.7);
Tailwind
colors: {
  custom: {
    50: '#e0b6e9',
    500: '#d197df',
    950: '#000000',
  },
}
SCSS
$custom: #d197df;
$custom-light: #e0b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d197df",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 288.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75649,
    "c": 0.11834,
    "h": 319.7
  },
  "luminance": 0.41016
}

Semantic roles & 50–950 ramp

primary
#D197DF
secondary
#E0EFDC
accent
#C02543
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D197DF

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

Preview Lab → · Contrast checker → · Palette generator →

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