#D197FE#D197FE

#D197FE is a light, vivid violet. Relative luminance 0.428; OKLCH L 77.0% C 0.154 H 309.1°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#D197FE
RGBrgb(209, 151, 254)
HSLhsl(274, 98%, 79%)
HSVhsv(274, 41%, 100%)
CMYKcmyk(17.7%, 40.6%, 0%, 0.4%)
CIE-LABlab(71.45, 40.34, -43.05)
CIE-LCHlch(71.45, 59.00, 313.14°)
OKLaboklab(77.02% 0.097 -0.1194)
OKLCHoklch(77.02% 0.154 309.1)
XYZxyz(55.2472, 42.8450, 99.1062)
Luminance0.4284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D197FE #C4FE97
analogous
#9E97FE #D197FE #FE97F8
triadic
#D197FE #FED197 #97FED1
tetradic
#D197FE #FE9E97 #C4FE97 #97F8FE
square
#D197FE #FE9E97 #C4FE97 #97F8FE
split-complementary
#D197FE #F8FE97 #97FE9E
monochromatic
#9B1EFD #B65AFD #D197FE #ECD4FF #F2E1FF

Accessibility & contrast

On white

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

On black

9.57
#D197FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D197FE
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D197FE#FFFFFF#000000##000000
##D197FE1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d197fe;
/* rgb */ color: rgb(209, 151, 254);
/* oklch */ color: oklch(77.0% 0.154 309.1);
Tailwind
colors: {
  custom: {
    50: '#e0b6ff',
    500: '#d197fe',
    950: '#000000',
  },
}
SCSS
$custom: #d197fe;
$custom-light: #e0b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d197fe",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 273.786,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77018,
    "c": 0.15386,
    "h": 309.1
  },
  "luminance": 0.42844
}

Semantic roles & 50–950 ramp

primary
#D197FE
secondary
#E3F7D4
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D197FE

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

Preview Lab → · Contrast checker → · Palette generator →

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