#D197FB#D197FB

#D197FB is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.9% C 0.150 H 309.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#D197FB
RGBrgb(209, 151, 251)
HSLhsl(275, 93%, 79%)
HSVhsv(275, 40%, 98%)
CMYKcmyk(16.7%, 39.8%, 0%, 1.6%)
CIE-LABlab(71.32, 39.70, -41.62)
CIE-LCHlch(71.32, 57.52, 313.64°)
OKLaboklab(76.88% 0.0965 -0.1153)
OKLCHoklch(76.88% 0.15 309.9)
XYZxyz(54.7705, 42.6543, 96.5959)
Luminance0.4265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D197FB #C1FB97
analogous
#9F97FB #D197FB #FB97F3
triadic
#D197FB #FBD197 #97FBD1
tetradic
#D197FB #FB9F97 #C1FB97 #97F3FB
square
#D197FB #FB9F97 #C1FB97 #97F3FB
split-complementary
#D197FB #F3FB97 #97FB9F
monochromatic
#9D21F6 #B75CF9 #D197FB #EBD2FD #F2E2FE

Accessibility & contrast

On white

2.20
#D197FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#D197FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D197FB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D197FB#FFFFFF#000000##000000
##D197FB1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#90B0F8
Tritanopia (blue-blind)
#CCA6BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d197fb;
/* rgb */ color: rgb(209, 151, 251);
/* oklch */ color: oklch(76.9% 0.150 309.9);
Tailwind
colors: {
  custom: {
    50: '#e0b6fd',
    500: '#d197fb',
    950: '#000000',
  },
}
SCSS
$custom: #d197fb;
$custom-light: #e0b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d197fb",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 274.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76877,
    "c": 0.15033,
    "h": 309.9
  },
  "luminance": 0.42654
}

Semantic roles & 50–950 ramp

primary
#D197FB
secondary
#E3F6D5
accent
#E60060
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D197FB

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

Preview Lab → · Contrast checker → · Palette generator →

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