#D197F8#D197F8

#D197F8 is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.7% C 0.147 H 310.8°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#D197F8
RGBrgb(209, 151, 248)
HSLhsl(276, 87%, 78%)
HSVhsv(276, 39%, 97%)
CMYKcmyk(15.7%, 39.1%, 0%, 2.7%)
CIE-LABlab(71.19, 39.06, -40.19)
CIE-LCHlch(71.19, 56.04, 314.18°)
OKLaboklab(76.74% 0.0959 -0.1112)
OKLCHoklch(76.74% 0.147 310.8)
XYZxyz(54.3014, 42.4667, 94.1250)
Luminance0.4247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D197F8 #BEF897
analogous
#A097F8 #D197F8 #F897EF
triadic
#D197F8 #F8D197 #97F8D1
tetradic
#D197F8 #F8A097 #BEF897 #97EFF8
square
#D197F8 #F8A097 #BEF897 #97EFF8
split-complementary
#D197F8 #EFF897 #97F8A0
monochromatic
#9E24F0 #B85EF4 #D197F8 #EAD0FC #F2E2FD

Accessibility & contrast

On white

2.21
#D197F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#D197F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D197F8
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D197F8#FFFFFF#000000##000000
##D197F81.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFC
Deuteranopia (green-blind)
#92AFF5
Tritanopia (blue-blind)
#CDA5BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d197f8;
/* rgb */ color: rgb(209, 151, 248);
/* oklch */ color: oklch(76.7% 0.147 310.8);
Tailwind
colors: {
  custom: {
    50: '#e0b6fb',
    500: '#d197f8',
    950: '#000000',
  },
}
SCSS
$custom: #d197f8;
$custom-light: #e0b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d197f8",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 275.876,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76738,
    "c": 0.14682,
    "h": 310.8
  },
  "luminance": 0.42466
}

Semantic roles & 50–950 ramp

primary
#D197F8
secondary
#E2F5D6
accent
#E4025D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D197F8

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

Preview Lab → · Contrast checker → · Palette generator →

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