#D497DB#D497DB

#D497DB is a light, moderate purple. Relative luminance 0.412; OKLCH L 75.8% C 0.116 H 323.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#D497DB
RGBrgb(212, 151, 219)
HSLhsl(294, 49%, 73%)
HSVhsv(294, 31%, 86%)
CMYKcmyk(3.2%, 31.1%, 0%, 14.1%)
CIE-LABlab(70.35, 34.12, -25.59)
CIE-LCHlch(70.35, 42.65, 323.13°)
OKLaboklab(75.79% 0.0926 -0.0696)
OKLCHoklch(75.79% 0.116 323.1)
XYZxyz(51.0027, 41.2463, 72.2788)
Luminance0.4124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497DB #9EDB97
analogous
#B297DB #D497DB #DB97C0
triadic
#D497DB #DBD497 #97DBD4
tetradic
#D497DB #DBB297 #9EDB97 #97C0DB
square
#D497DB #DBB297 #9EDB97 #97C0DB
split-complementary
#D497DB #C0DB97 #97DBB2
monochromatic
#AC40B8 #C16ACB #D497DB #E7C4EB #F6E8F7

Accessibility & contrast

On white

2.27
#D497DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#D497DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497DB
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497DB#FFFFFF#000000##000000
##D497DB1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8DE
Deuteranopia (green-blind)
#9FAFD9
Tritanopia (blue-blind)
#D79EB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d497db;
/* rgb */ color: rgb(212, 151, 219);
/* oklch */ color: oklch(75.8% 0.116 323.1);
Tailwind
colors: {
  custom: {
    50: '#e2b6e6',
    500: '#d497db',
    950: '#000000',
  },
}
SCSS
$custom: #d497db;
$custom-light: #e2b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d497db",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 293.824,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75791,
    "c": 0.11581,
    "h": 323.1
  },
  "luminance": 0.41245
}

Semantic roles & 50–950 ramp

primary
#D497DB
secondary
#DFEEDD
accent
#BC2A39
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D497DB

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

Preview Lab → · Contrast checker → · Palette generator →

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