#DC97FE#DC97FE

#DC97FE is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.1% C 0.158 H 313.9°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#DC97FE
RGBrgb(220, 151, 254)
HSLhsl(280, 98%, 79%)
HSVhsv(280, 41%, 100%)
CMYKcmyk(13.4%, 40.6%, 0%, 0.4%)
CIE-LABlab(72.57, 43.49, -41.22)
CIE-LCHlch(72.57, 59.92, 316.53°)
OKLaboklab(78.11% 0.1097 -0.1139)
OKLCHoklch(78.11% 0.158 313.9)
XYZxyz(58.4683, 44.5059, 99.2572)
Luminance0.4451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97FE #B9FE97
analogous
#A997FE #DC97FE #FE97ED
triadic
#DC97FE #FEDC97 #97FEDC
tetradic
#DC97FE #FEA997 #B9FE97 #97EDFE
square
#DC97FE #FEA997 #B9FE97 #97EDFE
split-complementary
#DC97FE #EDFE97 #97FEA9
monochromatic
#B31EFD #C85AFD #DC97FE #F0D4FF #F5E1FF

Accessibility & contrast

On white

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

On black

9.90
#DC97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97FE
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97FE#FFFFFF#000000##000000
##DC97FE1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#DAA5BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dc97fe;
/* rgb */ color: rgb(220, 151, 254);
/* oklch */ color: oklch(78.1% 0.158 313.9);
Tailwind
colors: {
  custom: {
    50: '#e8b7ff',
    500: '#dc97fe',
    950: '#000000',
  },
}
SCSS
$custom: #dc97fe;
$custom-light: #e8b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97fe",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 280.194,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78111,
    "c": 0.15815,
    "h": 313.9
  },
  "luminance": 0.44505
}

Semantic roles & 50–950 ramp

primary
#DC97FE
secondary
#E0F7D4
accent
#E6004C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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