#D197EE#D197EE

#D197EE is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.3% C 0.135 H 313.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#D197EE
RGBrgb(209, 151, 238)
HSLhsl(280, 72%, 76%)
HSVhsv(280, 37%, 93%)
CMYKcmyk(12.2%, 36.6%, 0%, 6.7%)
CIE-LABlab(70.78, 36.97, -35.38)
CIE-LCHlch(70.78, 51.17, 316.25°)
OKLaboklab(76.29% 0.0938 -0.0974)
OKLCHoklch(76.29% 0.135 313.9)
XYZxyz(52.7912, 41.8626, 86.1716)
Luminance0.4186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D197EE #B4EE97
analogous
#A697EE #D197EE #EE97E0
triadic
#D197EE #EED197 #97EED1
tetradic
#D197EE #EEA697 #B4EE97 #97E0EE
square
#D197EE #EEA697 #B4EE97 #97E0EE
split-complementary
#D197EE #E0EE97 #97EEA6
monochromatic
#A22EDD #BA62E5 #D197EE #E8CCF7 #F3E5FB

Accessibility & contrast

On white

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

On black

9.37
#D197EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D197EE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D197EE#FFFFFF#000000##000000
##D197EE1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF1
Deuteranopia (green-blind)
#96AFEB
Tritanopia (blue-blind)
#CFA3B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d197ee;
/* rgb */ color: rgb(209, 151, 238);
/* oklch */ color: oklch(76.3% 0.135 313.9);
Tailwind
colors: {
  custom: {
    50: '#e0b6f4',
    500: '#d197ee',
    950: '#000000',
  },
}
SCSS
$custom: #d197ee;
$custom-light: #e0b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d197ee",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 280,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76288,
    "c": 0.13522,
    "h": 313.9
  },
  "luminance": 0.41862
}

Semantic roles & 50–950 ramp

primary
#D197EE
secondary
#E1F2D9
accent
#D41252
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D197EE

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

Preview Lab → · Contrast checker → · Palette generator →

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