#DC51FF#DC51FF

#DC51FF is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 69.0% C 0.261 H 318.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#DC51FF
RGBrgb(220, 81, 255)
HSLhsl(288, 100%, 66%)
HSVhsv(288, 68%, 100%)
CMYKcmyk(13.7%, 68.2%, 0%, 0%)
CIE-LABlab(60.18, 76.62, -61.36)
CIE-LCHlch(60.18, 98.16, 321.31°)
OKLaboklab(69.02% 0.1965 -0.172)
OKLCHoklch(69.02% 0.261 318.8)
XYZxyz(50.5052, 28.3228, 97.3949)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51FF #74FF51
analogous
#8551FF #DC51FF #FF51CB
triadic
#DC51FF #FFDC51 #51FFDC
tetradic
#DC51FF #FF8551 #74FF51 #51CBFF
square
#DC51FF #FF8551 #74FF51 #51CBFF
split-complementary
#DC51FF #CBFF51 #51FF85
monochromatic
#AB00D6 #D014FF #DC51FF #E88EFF #F5CBFF

Accessibility & contrast

On white

3.15
#DC51FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#DC51FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51FF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51FF#FFFFFF#000000##000000
##DC51FF1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5B96FB
Tritanopia (blue-blind)
#DC72A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #dc51ff;
/* rgb */ color: rgb(220, 81, 255);
/* oklch */ color: oklch(69.0% 0.261 318.8);
Tailwind
colors: {
  custom: {
    50: '#eb8cff',
    500: '#dc51ff',
    950: '#000000',
  },
}
SCSS
$custom: #dc51ff;
$custom-light: #eb8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51ff",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 287.931,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69022,
    "c": 0.26116,
    "h": 318.8
  },
  "luminance": 0.28321
}

Semantic roles & 50–950 ramp

primary
#DC51FF
secondary
#C5F3B9
accent
#E6002E
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #DC51FF

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

Preview Lab → · Contrast checker → · Palette generator →

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