#D497FA#D497FA

#D497FA is a light, vivid violet. Relative luminance 0.430; OKLCH L 77.1% C 0.150 H 311.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#D497FA
RGBrgb(212, 151, 250)
HSLhsl(277, 91%, 79%)
HSVhsv(277, 40%, 98%)
CMYKcmyk(15.2%, 39.6%, 0%, 2%)
CIE-LABlab(71.58, 40.35, -40.66)
CIE-LCHlch(71.58, 57.28, 314.79°)
OKLaboklab(77.13% 0.0997 -0.1125)
OKLCHoklch(77.13% 0.15 311.6)
XYZxyz(55.4703, 43.0333, 95.8081)
Luminance0.4303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497FA #BDFA97
analogous
#A297FA #D497FA #FA97EE
triadic
#D497FA #FAD497 #97FAD4
tetradic
#D497FA #FAA297 #BDFA97 #97EEFA
square
#D497FA #FAA297 #BDFA97 #97EEFA
split-complementary
#D497FA #EEFA97 #97FAA2
monochromatic
#A422F4 #BC5DF7 #D497FA #ECD1FD #F3E2FE

Accessibility & contrast

On white

2.19
#D497FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#D497FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497FA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497FA#FFFFFF#000000##000000
##D497FA1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#D0A5BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d497fa;
/* rgb */ color: rgb(212, 151, 250);
/* oklch */ color: oklch(77.1% 0.150 311.6);
Tailwind
colors: {
  custom: {
    50: '#e2b6fc',
    500: '#d497fa',
    950: '#000000',
  },
}
SCSS
$custom: #d497fa;
$custom-light: #e2b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d497fa",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 276.97,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77126,
    "c": 0.15031,
    "h": 311.6
  },
  "luminance": 0.43032
}

Semantic roles & 50–950 ramp

primary
#D497FA
secondary
#E2F6D5
accent
#E60058
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D497FA

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

Preview Lab → · Contrast checker → · Palette generator →

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