#DC97DF#DC97DF

#DC97DF is a light, vivid purple. Relative luminance 0.427; OKLCH L 76.8% C 0.125 H 325.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#DC97DF
RGBrgb(220, 151, 223)
HSLhsl(298, 53%, 73%)
HSVhsv(298, 32%, 87%)
CMYKcmyk(1.3%, 32.3%, 0%, 12.5%)
CIE-LABlab(71.34, 37.41, -26.20)
CIE-LCHlch(71.34, 45.67, 324.99°)
OKLaboklab(76.78% 0.1027 -0.0712)
OKLCHoklch(76.78% 0.125 325.3)
XYZxyz(53.8998, 42.6785, 75.1963)
Luminance0.4268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97DF #9ADF97
analogous
#B897DF #DC97DF #DF97BE
triadic
#DC97DF #DFDC97 #97DFDC
tetradic
#DC97DF #DFB897 #9ADF97 #97BEDF
square
#DC97DF #DFB897 #9ADF97 #97BEDF
split-complementary
#DC97DF #BEDF97 #97DFB8
monochromatic
#BB3BC0 #CC68D1 #DC97DF #ECC6ED #F7E8F8

Accessibility & contrast

On white

2.20
#DC97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#DC97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97DF
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97DF#FFFFFF#000000##000000
##DC97DF1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E2
Deuteranopia (green-blind)
#A2B2DD
Tritanopia (blue-blind)
#E09EB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc97df;
/* rgb */ color: rgb(220, 151, 223);
/* oklch */ color: oklch(76.8% 0.125 325.3);
Tailwind
colors: {
  custom: {
    50: '#e8b6e9',
    500: '#dc97df',
    950: '#000000',
  },
}
SCSS
$custom: #dc97df;
$custom-light: #e8b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97df",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 297.5,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76779,
    "c": 0.12498,
    "h": 325.3
  },
  "luminance": 0.42677
}

Semantic roles & 50–950 ramp

primary
#DC97DF
secondary
#DDEFDC
accent
#C0252C
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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