#D197EB#D197EB

#D197EB is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.2% C 0.132 H 315.0°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#D197EB
RGBrgb(209, 151, 235)
HSLhsl(281, 68%, 76%)
HSVhsv(281, 36%, 92%)
CMYKcmyk(11.1%, 35.7%, 0%, 7.8%)
CIE-LABlab(70.66, 36.35, -33.93)
CIE-LCHlch(70.66, 49.73, 316.97°)
OKLaboklab(76.16% 0.0931 -0.0932)
OKLCHoklch(76.16% 0.132 315)
XYZxyz(52.3542, 41.6878, 83.8697)
Luminance0.4169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D197EB #B1EB97
analogous
#A797EB #D197EB #EB97DB
triadic
#D197EB #EBD197 #97EBD1
tetradic
#D197EB #EBA797 #B1EB97 #97DBEB
square
#D197EB #EBA797 #B1EB97 #97DBEB
split-complementary
#D197EB #DBEB97 #97EBA7
monochromatic
#A430D7 #BA64E1 #D197EB #E8CAF5 #F4E5FA

Accessibility & contrast

On white

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

On black

9.34
#D197EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D197EB
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D197EB#FFFFFF#000000##000000
##D197EB1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d197eb;
/* rgb */ color: rgb(209, 151, 235);
/* oklch */ color: oklch(76.2% 0.132 315.0);
Tailwind
colors: {
  custom: {
    50: '#e0b6f1',
    500: '#d197eb',
    950: '#000000',
  },
}
SCSS
$custom: #d197eb;
$custom-light: #e0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d197eb",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 281.429,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76157,
    "c": 0.13178,
    "h": 315
  },
  "luminance": 0.41687
}

Semantic roles & 50–950 ramp

primary
#D197EB
secondary
#E1F2D9
accent
#D0164F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D197EB

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

Preview Lab → · Contrast checker → · Palette generator →

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