#D497FD#D497FD

#D497FD is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.3% C 0.154 H 310.7°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#D497FD
RGBrgb(212, 151, 253)
HSLhsl(276, 96%, 79%)
HSVhsv(276, 40%, 99%)
CMYKcmyk(16.2%, 40.3%, 0%, 0.8%)
CIE-LABlab(71.71, 40.98, -42.08)
CIE-LCHlch(71.71, 58.74, 314.24°)
OKLaboklab(77.27% 0.1003 -0.1166)
OKLCHoklch(77.27% 0.154 310.7)
XYZxyz(55.9444, 43.2230, 98.3052)
Luminance0.4322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497FD #C0FD97
analogous
#A197FD #D497FD #FD97F3
triadic
#D497FD #FDD497 #97FDD4
tetradic
#D497FD #FDA197 #C0FD97 #97F3FD
square
#D497FD #FDA197 #C0FD97 #97F3FD
split-complementary
#D497FD #F3FD97 #97FDA1
monochromatic
#A21FFB #BB5BFC #D497FD #EDD3FE #F3E1FE

Accessibility & contrast

On white

2.18
#D497FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#D497FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497FD
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497FD#FFFFFF#000000##000000
##D497FD1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#91B1FA
Tritanopia (blue-blind)
#CFA6BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d497fd;
/* rgb */ color: rgb(212, 151, 253);
/* oklch */ color: oklch(77.3% 0.154 310.7);
Tailwind
colors: {
  custom: {
    50: '#e3b6fe',
    500: '#d497fd',
    950: '#000000',
  },
}
SCSS
$custom: #d497fd;
$custom-light: #e3b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d497fd",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 275.882,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77265,
    "c": 0.15378,
    "h": 310.7
  },
  "luminance": 0.43222
}

Semantic roles & 50–950 ramp

primary
#D497FD
secondary
#E2F7D4
accent
#E6005C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D497FD

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

Preview Lab → · Contrast checker → · Palette generator →

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