#DC97FB#DC97FB

#DC97FB is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.0% C 0.155 H 314.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#DC97FB
RGBrgb(220, 151, 251)
HSLhsl(281, 93%, 79%)
HSVhsv(281, 40%, 98%)
CMYKcmyk(12.4%, 39.8%, 0%, 1.6%)
CIE-LABlab(72.44, 42.88, -39.79)
CIE-LCHlch(72.44, 58.50, 317.14°)
OKLaboklab(77.97% 0.1091 -0.1098)
OKLCHoklch(77.97% 0.155 314.8)
XYZxyz(57.9917, 44.3152, 96.7469)
Luminance0.4431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97FB #B6FB97
analogous
#AA97FB #DC97FB #FB97E8
triadic
#DC97FB #FBDC97 #97FBDC
tetradic
#DC97FB #FBAA97 #B6FB97 #97E8FB
square
#DC97FB #FBAA97 #B6FB97 #97E8FB
split-complementary
#DC97FB #E8FB97 #97FBAA
monochromatic
#B421F6 #C85CF9 #DC97FB #F0D2FD #F5E2FE

Accessibility & contrast

On white

2.13
#DC97FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#DC97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97FB
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97FB#FFFFFF#000000##000000
##DC97FB1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#97B4F8
Tritanopia (blue-blind)
#DAA5BD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dc97fb;
/* rgb */ color: rgb(220, 151, 251);
/* oklch */ color: oklch(78.0% 0.155 314.8);
Tailwind
colors: {
  custom: {
    50: '#e8b7fd',
    500: '#dc97fb',
    950: '#000000',
  },
}
SCSS
$custom: #dc97fb;
$custom-light: #e8b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97fb",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 281.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77974,
    "c": 0.15481,
    "h": 314.8
  },
  "luminance": 0.44314
}

Semantic roles & 50–950 ramp

primary
#DC97FB
secondary
#DFF6D5
accent
#E60047
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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