#D97CFC#D97CFC

#D97CFC is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.6% C 0.198 H 316.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#D97CFC
RGBrgb(217, 124, 252)
HSLhsl(284, 96%, 74%)
HSVhsv(284, 51%, 99%)
CMYKcmyk(13.9%, 50.8%, 0%, 1.2%)
CIE-LABlab(66.67, 56.22, -49.41)
CIE-LCHlch(66.67, 74.84, 318.69°)
OKLaboklab(73.61% 0.1427 -0.1375)
OKLCHoklch(73.61% 0.198 316.1)
XYZxyz(53.3910, 36.1970, 96.2508)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CFC #9FFC7C
analogous
#997CFC #D97CFC #FC7CDF
triadic
#D97CFC #FCD97C #7CFCD9
tetradic
#D97CFC #FC997C #9FFC7C #7CDFFC
square
#D97CFC #FC997C #9FFC7C #7CDFFC
split-complementary
#D97CFC #DFFC7C #7CFC99
monochromatic
#B606F8 #C840FB #D97CFC #EAB8FD #F6E1FE

Accessibility & contrast

On white

2.55
#D97CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#D97CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CFC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CFC#FFFFFF#000000##000000
##D97CFC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#D790B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d97cfc;
/* rgb */ color: rgb(217, 124, 252);
/* oklch */ color: oklch(73.6% 0.198 316.1);
Tailwind
colors: {
  custom: {
    50: '#e7a5fe',
    500: '#d97cfc',
    950: '#000000',
  },
}
SCSS
$custom: #d97cfc;
$custom-light: #e7a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cfc",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 283.594,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73613,
    "c": 0.19815,
    "h": 316.1
  },
  "luminance": 0.36195
}

Semantic roles & 50–950 ramp

primary
#D97CFC
secondary
#DEF7D4
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D97CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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