#D197EF#D197EF

#D197EF is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.3% C 0.136 H 313.6°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#D197EF
RGBrgb(209, 151, 239)
HSLhsl(280, 73%, 76%)
HSVhsv(280, 37%, 94%)
CMYKcmyk(12.6%, 36.8%, 0%, 6.3%)
CIE-LABlab(70.82, 37.17, -35.87)
CIE-LCHlch(70.82, 51.66, 316.03°)
OKLaboklab(76.33% 0.094 -0.0988)
OKLCHoklch(76.33% 0.136 313.6)
XYZxyz(52.9386, 41.9215, 86.9475)
Luminance0.4192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D197EF #B5EF97
analogous
#A597EF #D197EF #EF97E1
triadic
#D197EF #EFD197 #97EFD1
tetradic
#D197EF #EFA597 #B5EF97 #97E1EF
square
#D197EF #EFA597 #B5EF97 #97E1EF
split-complementary
#D197EF #E1EF97 #97EFA5
monochromatic
#A22DDF #BA62E7 #D197EF #E8CCF7 #F3E4FB

Accessibility & contrast

On white

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

On black

9.38
#D197EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D197EF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D197EF#FFFFFF#000000##000000
##D197EF1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d197ef;
/* rgb */ color: rgb(209, 151, 239);
/* oklch */ color: oklch(76.3% 0.136 313.6);
Tailwind
colors: {
  custom: {
    50: '#e0b6f4',
    500: '#d197ef',
    950: '#000000',
  },
}
SCSS
$custom: #d197ef;
$custom-light: #e0b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d197ef",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 279.545,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76332,
    "c": 0.13637,
    "h": 313.6
  },
  "luminance": 0.41921
}

Semantic roles & 50–950 ramp

primary
#D197EF
secondary
#E1F3D8
accent
#D51053
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D197EF

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

Preview Lab → · Contrast checker → · Palette generator →

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