#D197FF#D197FF

#D197FF is a light, vivid violet. Relative luminance 0.429; OKLCH L 77.1% C 0.155 H 308.8°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#D197FF
RGBrgb(209, 151, 255)
HSLhsl(273, 100%, 80%)
HSVhsv(273, 41%, 100%)
CMYKcmyk(18%, 40.8%, 0%, 0%)
CIE-LABlab(71.49, 40.56, -43.52)
CIE-LCHlch(71.49, 59.49, 312.98°)
OKLaboklab(77.07% 0.0972 -0.1208)
OKLCHoklch(77.07% 0.155 308.8)
XYZxyz(55.4077, 42.9092, 99.9518)
Luminance0.4291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D197FF #C5FF97
analogous
#9D97FF #D197FF #FF97F9
triadic
#D197FF #FFD197 #97FFD1
tetradic
#D197FF #FF9D97 #C5FF97 #97F9FF
square
#D197FF #FF9D97 #C5FF97 #97F9FF
split-complementary
#D197FF #F9FF97 #97FF9D
monochromatic
#9B1DFF #B65AFF #D197FF #ECD4FF #F1E0FF

Accessibility & contrast

On white

2.19
#D197FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#D197FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D197FF
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D197FF#FFFFFF#000000##000000
##D197FF1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ADFF
Deuteranopia (green-blind)
#8EB0FC
Tritanopia (blue-blind)
#CBA7BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d197ff;
/* rgb */ color: rgb(209, 151, 255);
/* oklch */ color: oklch(77.1% 0.155 308.8);
Tailwind
colors: {
  custom: {
    50: '#e1b6ff',
    500: '#d197ff',
    950: '#000000',
  },
}
SCSS
$custom: #d197ff;
$custom-light: #e1b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d197ff",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 273.462,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77065,
    "c": 0.15504,
    "h": 308.8
  },
  "luminance": 0.42909
}

Semantic roles & 50–950 ramp

primary
#D197FF
secondary
#E3F7D4
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D197FF

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

Preview Lab → · Contrast checker → · Palette generator →

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