#D497EB#D497EB

#D497EB is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.5% C 0.133 H 316.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#D497EB
RGBrgb(212, 151, 235)
HSLhsl(284, 68%, 76%)
HSVhsv(284, 36%, 92%)
CMYKcmyk(9.8%, 35.7%, 0%, 7.8%)
CIE-LABlab(70.96, 37.26, -33.43)
CIE-LCHlch(70.96, 50.06, 318.10°)
OKLaboklab(76.46% 0.0966 -0.0918)
OKLCHoklch(76.46% 0.133 316.5)
XYZxyz(53.2112, 42.1297, 83.9099)
Luminance0.4213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497EB #AEEB97
analogous
#AA97EB #D497EB #EB97D8
triadic
#D497EB #EBD497 #97EBD4
tetradic
#D497EB #EBAA97 #AEEB97 #97D8EB
square
#D497EB #EBAA97 #AEEB97 #97D8EB
split-complementary
#D497EB #D8EB97 #97EBAA
monochromatic
#AA30D7 #BF64E1 #D497EB #E9CAF5 #F4E5FA

Accessibility & contrast

On white

2.23
#D497EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#D497EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497EB
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497EB#FFFFFF#000000##000000
##D497EB1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#99B0E8
Tritanopia (blue-blind)
#D3A2B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d497eb;
/* rgb */ color: rgb(212, 151, 235);
/* oklch */ color: oklch(76.5% 0.133 316.5);
Tailwind
colors: {
  custom: {
    50: '#e2b6f1',
    500: '#d497eb',
    950: '#000000',
  },
}
SCSS
$custom: #d497eb;
$custom-light: #e2b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d497eb",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 283.571,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76457,
    "c": 0.13322,
    "h": 316.5
  },
  "luminance": 0.42128
}

Semantic roles & 50–950 ramp

primary
#D497EB
secondary
#E0F2D9
accent
#D01649
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D497EB

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

Preview Lab → · Contrast checker → · Palette generator →

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