#D497FB#D497FB

#D497FB is a light, vivid violet. Relative luminance 0.431; OKLCH L 77.2% C 0.151 H 311.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#D497FB
RGBrgb(212, 151, 251)
HSLhsl(277, 93%, 79%)
HSVhsv(277, 40%, 98%)
CMYKcmyk(15.5%, 39.8%, 0%, 1.6%)
CIE-LABlab(71.62, 40.56, -41.13)
CIE-LCHlch(71.62, 57.77, 314.60°)
OKLaboklab(77.17% 0.0999 -0.1138)
OKLCHoklch(77.17% 0.151 311.3)
XYZxyz(55.6275, 43.0962, 96.6360)
Luminance0.4309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D497FB #BEFB97
analogous
#A297FB #D497FB #FB97F0
triadic
#D497FB #FBD497 #97FBD4
tetradic
#D497FB #FBA297 #BEFB97 #97F0FB
square
#D497FB #FBA297 #BEFB97 #97F0FB
split-complementary
#D497FB #F0FB97 #97FBA2
monochromatic
#A321F6 #BC5CF9 #D497FB #ECD2FD #F3E2FE

Accessibility & contrast

On white

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

On black

9.62
#D497FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D497FB
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D497FB#FFFFFF#000000##000000
##D497FB1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#92B1F8
Tritanopia (blue-blind)
#D0A6BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d497fb;
/* rgb */ color: rgb(212, 151, 251);
/* oklch */ color: oklch(77.2% 0.151 311.3);
Tailwind
colors: {
  custom: {
    50: '#e2b6fd',
    500: '#d497fb',
    950: '#000000',
  },
}
SCSS
$custom: #d497fb;
$custom-light: #e2b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d497fb",
  "rgb": {
    "r": 212,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 276.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77172,
    "c": 0.15146,
    "h": 311.3
  },
  "luminance": 0.43095
}

Semantic roles & 50–950 ramp

primary
#D497FB
secondary
#E2F6D5
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D497FB

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

Preview Lab → · Contrast checker → · Palette generator →

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