#D897FF#D897FF

#D897FF is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.8% C 0.158 H 311.9°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#D897FF
RGBrgb(216, 151, 255)
HSLhsl(278, 100%, 80%)
HSVhsv(278, 41%, 100%)
CMYKcmyk(15.3%, 40.8%, 0%, 0%)
CIE-LABlab(72.20, 42.55, -42.37)
CIE-LCHlch(72.20, 60.05, 315.12°)
OKLaboklab(77.76% 0.1053 -0.1173)
OKLCHoklch(77.76% 0.158 311.9)
XYZxyz(57.4324, 43.9532, 100.0467)
Luminance0.4395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D897FF #BEFF97
analogous
#A497FF #D897FF #FF97F2
triadic
#D897FF #FFD897 #97FFD8
tetradic
#D897FF #FFA497 #BEFF97 #97F2FF
square
#D897FF #FFA497 #BEFF97 #97F2FF
split-complementary
#D897FF #F2FF97 #97FFA4
monochromatic
#AA1DFF #C15AFF #D897FF #EFD4FF #F4E0FF

Accessibility & contrast

On white

2.14
#D897FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#D897FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D897FF
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D897FF#FFFFFF#000000##000000
##D897FF1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#93B2FC
Tritanopia (blue-blind)
#D4A6BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d897ff;
/* rgb */ color: rgb(216, 151, 255);
/* oklch */ color: oklch(77.8% 0.158 311.9);
Tailwind
colors: {
  custom: {
    50: '#e5b6ff',
    500: '#d897ff',
    950: '#000000',
  },
}
SCSS
$custom: #d897ff;
$custom-light: #e5b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d897ff",
  "rgb": {
    "r": 216,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 277.5,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77755,
    "c": 0.15763,
    "h": 311.9
  },
  "luminance": 0.43952
}

Semantic roles & 50–950 ramp

primary
#D897FF
secondary
#E1F7D4
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D897FF

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

Preview Lab → · Contrast checker → · Palette generator →

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