#DC97F9#DC97F9

#DC97F9 is a light, vivid purple. Relative luminance 0.442; OKLCH L 77.9% C 0.153 H 315.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#DC97F9
RGBrgb(220, 151, 249)
HSLhsl(282, 89%, 78%)
HSVhsv(282, 39%, 98%)
CMYKcmyk(11.6%, 39.4%, 0%, 2.4%)
CIE-LABlab(72.36, 42.47, -38.84)
CIE-LCHlch(72.36, 57.55, 317.56°)
OKLaboklab(77.88% 0.1087 -0.1071)
OKLCHoklch(77.88% 0.153 315.4)
XYZxyz(57.6781, 44.1898, 95.0953)
Luminance0.4419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97F9 #B4F997
analogous
#AB97F9 #DC97F9 #F997E5
triadic
#DC97F9 #F9DC97 #97F9DC
tetradic
#DC97F9 #F9AB97 #B4F997 #97E5F9
square
#DC97F9 #F9AB97 #B4F997 #97E5F9
split-complementary
#DC97F9 #E5F997 #97F9AB
monochromatic
#B523F2 #C95DF6 #DC97F9 #EFD1FC #F5E2FD

Accessibility & contrast

On white

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

On black

9.84
#DC97F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97F9
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97F9#FFFFFF#000000##000000
##DC97F91.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFD
Deuteranopia (green-blind)
#98B3F6
Tritanopia (blue-blind)
#DBA4BC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dc97f9;
/* rgb */ color: rgb(220, 151, 249);
/* oklch */ color: oklch(77.9% 0.153 315.4);
Tailwind
colors: {
  custom: {
    50: '#e8b7fb',
    500: '#dc97f9',
    950: '#000000',
  },
}
SCSS
$custom: #dc97f9;
$custom-light: #e8b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97f9",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 282.245,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77884,
    "c": 0.1526,
    "h": 315.4
  },
  "luminance": 0.44188
}

Semantic roles & 50–950 ramp

primary
#DC97F9
secondary
#DFF5D6
accent
#E60044
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC97F9

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

Preview Lab → · Contrast checker → · Palette generator →

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