#DC97FF#DC97FF

#DC97FF is a light, vivid violet. Relative luminance 0.446; OKLCH L 78.2% C 0.159 H 313.6°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#DC97FF
RGBrgb(220, 151, 255)
HSLhsl(280, 100%, 80%)
HSVhsv(280, 41%, 100%)
CMYKcmyk(13.7%, 40.8%, 0%, 0%)
CIE-LABlab(72.61, 43.70, -41.70)
CIE-LCHlch(72.61, 60.40, 316.34°)
OKLaboklab(78.16% 0.1099 -0.1153)
OKLCHoklch(78.16% 0.159 313.6)
XYZxyz(58.6289, 44.5701, 100.1027)
Luminance0.4457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97FF #BAFF97
analogous
#A897FF #DC97FF #FF97EE
triadic
#DC97FF #FFDC97 #97FFDC
tetradic
#DC97FF #FFA897 #BAFF97 #97EEFF
square
#DC97FF #FFA897 #BAFF97 #97EEFF
split-complementary
#DC97FF #EEFF97 #97FFA8
monochromatic
#B31DFF #C75AFF #DC97FF #F1D4FF #F5E0FF

Accessibility & contrast

On white

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

On black

9.91
#DC97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97FF
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97FF#FFFFFF#000000##000000
##DC97FF1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#95B4FC
Tritanopia (blue-blind)
#D9A6BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dc97ff;
/* rgb */ color: rgb(220, 151, 255);
/* oklch */ color: oklch(78.2% 0.159 313.6);
Tailwind
colors: {
  custom: {
    50: '#e8b7ff',
    500: '#dc97ff',
    950: '#000000',
  },
}
SCSS
$custom: #dc97ff;
$custom-light: #e8b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97ff",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 279.808,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78157,
    "c": 0.15927,
    "h": 313.6
  },
  "luminance": 0.44569
}

Semantic roles & 50–950 ramp

primary
#DC97FF
secondary
#E0F7D4
accent
#E6004D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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