#DC57FB#DC57FB

#DC57FB is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.4% C 0.251 H 319.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#DC57FB
RGBrgb(220, 87, 251)
HSLhsl(289, 95%, 66%)
HSVhsv(289, 65%, 98%)
CMYKcmyk(12.4%, 65.3%, 0%, 1.6%)
CIE-LABlab(60.78, 73.57, -58.19)
CIE-LCHlch(60.78, 93.80, 321.66°)
OKLaboklab(69.38% 0.1905 -0.1628)
OKLCHoklch(69.38% 0.251 319.5)
XYZxyz(50.3338, 28.9994, 94.1942)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC57FB #76FB57
analogous
#8A57FB #DC57FB #FB57C8
triadic
#DC57FB #FBDC57 #57FBDC
tetradic
#DC57FB #FB8A57 #76FB57 #57C8FB
square
#DC57FB #FB8A57 #76FB57 #57C8FB
split-complementary
#DC57FB #C8FB57 #57FB8A
monochromatic
#AC05D3 #D01BFA #DC57FB #E893FC #F5CFFE

Accessibility & contrast

On white

3.09
#DC57FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#DC57FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC57FB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC57FB#FFFFFF#000000##000000
##DC57FB1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8AFF
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#DC74A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #dc57fb;
/* rgb */ color: rgb(220, 87, 251);
/* oklch */ color: oklch(69.4% 0.251 319.5);
Tailwind
colors: {
  custom: {
    50: '#eb8ffd',
    500: '#dc57fb',
    950: '#000000',
  },
}
SCSS
$custom: #dc57fb;
$custom-light: #eb8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc57fb",
  "rgb": {
    "r": 220,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 288.659,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69381,
    "c": 0.25058,
    "h": 319.5
  },
  "luminance": 0.28997
}

Semantic roles & 50–950 ramp

primary
#DC57FB
secondary
#C6F2BC
accent
#E6002B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #DC57FB

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

Preview Lab → · Contrast checker → · Palette generator →

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