#DC97FD#DC97FD

#DC97FD is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.1% C 0.157 H 314.2°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#DC97FD
RGBrgb(220, 151, 253)
HSLhsl(281, 96%, 79%)
HSVhsv(281, 40%, 99%)
CMYKcmyk(13%, 40.3%, 0%, 0.8%)
CIE-LABlab(72.52, 43.28, -40.75)
CIE-LCHlch(72.52, 59.45, 316.73°)
OKLaboklab(78.07% 0.1095 -0.1126)
OKLCHoklch(78.07% 0.157 314.2)
XYZxyz(58.3086, 44.4420, 98.4160)
Luminance0.4444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97FD #B8FD97
analogous
#A997FD #DC97FD #FD97EB
triadic
#DC97FD #FDDC97 #97FDDC
tetradic
#DC97FD #FDA997 #B8FD97 #97EBFD
square
#DC97FD #FDA997 #B8FD97 #97EBFD
split-complementary
#DC97FD #EBFD97 #97FDA9
monochromatic
#B41FFB #C85BFC #DC97FD #F0D3FE #F5E1FE

Accessibility & contrast

On white

2.12
#DC97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#DC97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97FD
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97FD#FFFFFF#000000##000000
##DC97FD1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#96B4FA
Tritanopia (blue-blind)
#DAA5BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dc97fd;
/* rgb */ color: rgb(220, 151, 253);
/* oklch */ color: oklch(78.1% 0.157 314.2);
Tailwind
colors: {
  custom: {
    50: '#e8b7fe',
    500: '#dc97fd',
    950: '#000000',
  },
}
SCSS
$custom: #dc97fd;
$custom-light: #e8b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97fd",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 280.588,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78066,
    "c": 0.15704,
    "h": 314.2
  },
  "luminance": 0.44441
}

Semantic roles & 50–950 ramp

primary
#DC97FD
secondary
#DFF7D4
accent
#E6004A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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