#D497DF#D497DF

#D497DF is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.0% C 0.120 H 321.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#D497DF
RGBrgb(212, 151, 223)
HSLhsl(291, 53%, 73%)
HSVhsv(291, 32%, 87%)
CMYKcmyk(4.9%, 32.3%, 0%, 12.5%)
CIE-LABlab(70.50, 34.89, -27.56)
CIE-LCHlch(70.50, 44.46, 321.69°)
OKLaboklab(75.95% 0.0936 -0.0751)
OKLCHoklch(75.95% 0.12 321.3)
XYZxyz(51.5356, 41.4595, 75.0854)
Luminance0.4146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497DF #A2DF97
analogous
#B097DF #D497DF #DF97C6
triadic
#D497DF #DFD497 #97DFD4
tetradic
#D497DF #DFB097 #A2DF97 #97C6DF
square
#D497DF #DFB097 #A2DF97 #97C6DF
split-complementary
#D497DF #C6DF97 #97DFB0
monochromatic
#AC3BC0 #C168D1 #D497DF #E7C6ED #F5E8F8

Accessibility & contrast

On white

2.26
#D497DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#D497DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497DF
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497DF#FFFFFF#000000##000000
##D497DF1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E2
Deuteranopia (green-blind)
#9EAFDD
Tritanopia (blue-blind)
#D69FB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d497df;
/* rgb */ color: rgb(212, 151, 223);
/* oklch */ color: oklch(76.0% 0.120 321.3);
Tailwind
colors: {
  custom: {
    50: '#e2b6e9',
    500: '#d497df',
    950: '#000000',
  },
}
SCSS
$custom: #d497df;
$custom-light: #e2b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d497df",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 290.833,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75953,
    "c": 0.12005,
    "h": 321.3
  },
  "luminance": 0.41458
}

Semantic roles & 50–950 ramp

primary
#D497DF
secondary
#DFEFDC
accent
#C0253D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D497DF

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

Preview Lab → · Contrast checker → · Palette generator →

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