#DC97E2#DC97E2

#DC97E2 is a light, vivid purple. Relative luminance 0.428; OKLCH L 76.9% C 0.128 H 324.0°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#DC97E2
RGBrgb(220, 151, 226)
HSLhsl(295, 56%, 74%)
HSVhsv(295, 33%, 89%)
CMYKcmyk(2.7%, 33.2%, 0%, 11.4%)
CIE-LABlab(71.45, 37.97, -27.68)
CIE-LCHlch(71.45, 46.99, 323.91°)
OKLaboklab(76.9% 0.1035 -0.0753)
OKLCHoklch(76.9% 0.128 324)
XYZxyz(54.3078, 42.8417, 77.3453)
Luminance0.4284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97E2 #9DE297
analogous
#B797E2 #DC97E2 #E297C3
triadic
#DC97E2 #E2DC97 #97E2DC
tetradic
#DC97E2 #E2B797 #9DE297 #97C3E2
square
#DC97E2 #E2B797 #9DE297 #97C3E2
split-complementary
#DC97E2 #C3E297 #97E2B7
monochromatic
#BC38C7 #CC67D5 #DC97E2 #ECC7EF #F7E7F8

Accessibility & contrast

On white

2.19
#DC97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#DC97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97E2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97E2#FFFFFF#000000##000000
##DC97E21.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AAE5
Deuteranopia (green-blind)
#A1B2E0
Tritanopia (blue-blind)
#DF9EB3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc97e2;
/* rgb */ color: rgb(220, 151, 226);
/* oklch */ color: oklch(76.9% 0.128 324.0);
Tailwind
colors: {
  custom: {
    50: '#e8b6eb',
    500: '#dc97e2',
    950: '#000000',
  },
}
SCSS
$custom: #dc97e2;
$custom-light: #e8b6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97e2",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 295.2,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.769,
    "c": 0.12803,
    "h": 324
  },
  "luminance": 0.4284
}

Semantic roles & 50–950 ramp

primary
#DC97E2
secondary
#DDF0DB
accent
#C4222F
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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