#DC97FA#DC97FA

#DC97FA is a light, vivid purple. Relative luminance 0.443; OKLCH L 77.9% C 0.154 H 315.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#DC97FA
RGBrgb(220, 151, 250)
HSLhsl(282, 91%, 79%)
HSVhsv(282, 40%, 98%)
CMYKcmyk(12%, 39.6%, 0%, 2%)
CIE-LABlab(72.40, 42.67, -39.32)
CIE-LCHlch(72.40, 58.02, 317.34°)
OKLaboklab(77.93% 0.1089 -0.1085)
OKLCHoklch(77.93% 0.154 315.1)
XYZxyz(57.8344, 44.2523, 95.9189)
Luminance0.4425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97FA #B5FA97
analogous
#AA97FA #DC97FA #FA97E6
triadic
#DC97FA #FADC97 #97FADC
tetradic
#DC97FA #FAAA97 #B5FA97 #97E6FA
square
#DC97FA #FAAA97 #B5FA97 #97E6FA
split-complementary
#DC97FA #E6FA97 #97FAAA
monochromatic
#B522F4 #C85DF7 #DC97FA #F0D1FD #F5E2FE

Accessibility & contrast

On white

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

On black

9.85
#DC97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97FA
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97FA#FFFFFF#000000##000000
##DC97FA1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#97B4F7
Tritanopia (blue-blind)
#DAA4BD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dc97fa;
/* rgb */ color: rgb(220, 151, 250);
/* oklch */ color: oklch(77.9% 0.154 315.1);
Tailwind
colors: {
  custom: {
    50: '#e8b7fc',
    500: '#dc97fa',
    950: '#000000',
  },
}
SCSS
$custom: #dc97fa;
$custom-light: #e8b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97fa",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 281.818,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77929,
    "c": 0.1537,
    "h": 315.1
  },
  "luminance": 0.44251
}

Semantic roles & 50–950 ramp

primary
#DC97FA
secondary
#DFF6D5
accent
#E60046
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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