#D497EA#D497EA

#D497EA is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.4% C 0.132 H 316.8°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#D497EA
RGBrgb(212, 151, 234)
HSLhsl(284, 66%, 75%)
HSVhsv(284, 35%, 92%)
CMYKcmyk(9.4%, 35.5%, 0%, 8.2%)
CIE-LABlab(70.92, 37.06, -32.95)
CIE-LCHlch(70.92, 49.59, 318.36°)
OKLaboklab(76.41% 0.0963 -0.0904)
OKLCHoklch(76.41% 0.132 316.8)
XYZxyz(53.0671, 42.0720, 83.1512)
Luminance0.4207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497EA #ADEA97
analogous
#AA97EA #D497EA #EA97D7
triadic
#D497EA #EAD497 #97EAD4
tetradic
#D497EA #EAAA97 #ADEA97 #97D7EA
square
#D497EA #EAAA97 #ADEA97 #97D7EA
split-complementary
#D497EA #D7EA97 #97EAAA
monochromatic
#AA31D5 #BF64E0 #D497EA #E9CAF4 #F4E6FA

Accessibility & contrast

On white

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

On black

9.41
#D497EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497EA
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497EA#FFFFFF#000000##000000
##D497EA1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAED
Deuteranopia (green-blind)
#99B0E7
Tritanopia (blue-blind)
#D4A1B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d497ea;
/* rgb */ color: rgb(212, 151, 234);
/* oklch */ color: oklch(76.4% 0.132 316.8);
Tailwind
colors: {
  custom: {
    50: '#e2b6f1',
    500: '#d497ea',
    950: '#000000',
  },
}
SCSS
$custom: #d497ea;
$custom-light: #e2b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d497ea",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 284.096,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76414,
    "c": 0.1321,
    "h": 316.8
  },
  "luminance": 0.42071
}

Semantic roles & 50–950 ramp

primary
#D497EA
secondary
#E0F1DA
accent
#CE1748
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D497EA

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

Preview Lab → · Contrast checker → · Palette generator →

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