#D497FE#D497FE

#D497FE is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.3% C 0.155 H 310.4°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#D497FE
RGBrgb(212, 151, 254)
HSLhsl(276, 98%, 79%)
HSVhsv(276, 41%, 100%)
CMYKcmyk(16.5%, 40.6%, 0%, 0.4%)
CIE-LABlab(71.75, 41.20, -42.56)
CIE-LCHlch(71.75, 59.23, 314.07°)
OKLaboklab(77.31% 0.1005 -0.1179)
OKLCHoklch(77.31% 0.155 310.4)
XYZxyz(56.1042, 43.2869, 99.1464)
Luminance0.4329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497FE #C1FE97
analogous
#A197FE #D497FE #FE97F4
triadic
#D497FE #FED497 #97FED4
tetradic
#D497FE #FEA197 #C1FE97 #97F4FE
square
#D497FE #FEA197 #C1FE97 #97F4FE
split-complementary
#D497FE #F4FE97 #97FEA1
monochromatic
#A21EFD #BB5AFD #D497FE #EDD4FF #F2E1FF

Accessibility & contrast

On white

2.17
#D497FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#D497FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497FE
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497FE#FFFFFF#000000##000000
##D497FE1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d497fe;
/* rgb */ color: rgb(212, 151, 254);
/* oklch */ color: oklch(77.3% 0.155 310.4);
Tailwind
colors: {
  custom: {
    50: '#e3b6ff',
    500: '#d497fe',
    950: '#000000',
  },
}
SCSS
$custom: #d497fe;
$custom-light: #e3b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d497fe",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 275.534,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77312,
    "c": 0.15495,
    "h": 310.4
  },
  "luminance": 0.43286
}

Semantic roles & 50–950 ramp

primary
#D497FE
secondary
#E2F7D4
accent
#E6005E
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D497FE

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

Preview Lab → · Contrast checker → · Palette generator →

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