#D497EC#D497EC

#D497EC is a light, vivid purple. Relative luminance 0.422; OKLCH L 76.5% C 0.134 H 316.1°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#D497EC
RGBrgb(212, 151, 236)
HSLhsl(283, 69%, 76%)
HSVhsv(283, 36%, 93%)
CMYKcmyk(10.2%, 36%, 0%, 7.5%)
CIE-LABlab(71.00, 37.46, -33.92)
CIE-LCHlch(71.00, 50.54, 317.84°)
OKLaboklab(76.5% 0.0968 -0.0932)
OKLCHoklch(76.5% 0.134 316.1)
XYZxyz(53.3560, 42.1876, 84.6729)
Luminance0.4219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497EC #AFEC97
analogous
#A997EC #D497EC #EC97D9
triadic
#D497EC #ECD497 #97ECD4
tetradic
#D497EC #ECA997 #AFEC97 #97D9EC
square
#D497EC #ECA997 #AFEC97 #97D9EC
split-complementary
#D497EC #D9EC97 #97ECA9
monochromatic
#A930D9 #BF63E3 #D497EC #E9CBF5 #F4E5FA

Accessibility & contrast

On white

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

On black

9.44
#D497EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497EC
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497EC#FFFFFF#000000##000000
##D497EC1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#D3A2B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d497ec;
/* rgb */ color: rgb(212, 151, 236);
/* oklch */ color: oklch(76.5% 0.134 316.1);
Tailwind
colors: {
  custom: {
    50: '#e2b6f2',
    500: '#d497ec',
    950: '#000000',
  },
}
SCSS
$custom: #d497ec;
$custom-light: #e2b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d497ec",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 283.059,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.765,
    "c": 0.13434,
    "h": 316.1
  },
  "luminance": 0.42186
}

Semantic roles & 50–950 ramp

primary
#D497EC
secondary
#E0F2D9
accent
#D1144A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D497EC

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

Preview Lab → · Contrast checker → · Palette generator →

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