#D497FC#D497FC

#D497FC is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.2% C 0.153 H 311.0°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#D497FC
RGBrgb(212, 151, 252)
HSLhsl(276, 94%, 79%)
HSVhsv(276, 40%, 99%)
CMYKcmyk(15.9%, 40.1%, 0%, 1.2%)
CIE-LABlab(71.66, 40.77, -41.61)
CIE-LCHlch(71.66, 58.26, 314.42°)
OKLaboklab(77.22% 0.1001 -0.1152)
OKLCHoklch(77.22% 0.153 311)
XYZxyz(55.7856, 43.1594, 97.4684)
Luminance0.4316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497FC #BFFC97
analogous
#A297FC #D497FC #FC97F1
triadic
#D497FC #FCD497 #97FCD4
tetradic
#D497FC #FCA297 #BFFC97 #97F1FC
square
#D497FC #FCA297 #BFFC97 #97F1FC
split-complementary
#D497FC #F1FC97 #97FCA2
monochromatic
#A320F9 #BB5CFA #D497FC #EDD2FE #F3E1FE

Accessibility & contrast

On white

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

On black

9.63
#D497FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497FC
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497FC#FFFFFF#000000##000000
##D497FC1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#D0A6BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d497fc;
/* rgb */ color: rgb(212, 151, 252);
/* oklch */ color: oklch(77.2% 0.153 311.0);
Tailwind
colors: {
  custom: {
    50: '#e3b6fd',
    500: '#d497fc',
    950: '#000000',
  },
}
SCSS
$custom: #d497fc;
$custom-light: #e3b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d497fc",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 276.238,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77219,
    "c": 0.15262,
    "h": 311
  },
  "luminance": 0.43159
}

Semantic roles & 50–950 ramp

primary
#D497FC
secondary
#E2F6D5
accent
#E6005B
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D497FC

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

Preview Lab → · Contrast checker → · Palette generator →

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