#DC51F2#DC51F2

#DC51F2 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.3% C 0.250 H 321.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#DC51F2
RGBrgb(220, 81, 242)
HSLhsl(292, 86%, 63%)
HSVhsv(292, 67%, 95%)
CMYKcmyk(9.1%, 66.5%, 0%, 5.1%)
CIE-LABlab(59.45, 74.30, -55.32)
CIE-LCHlch(59.45, 92.64, 323.33°)
OKLaboklab(68.26% 0.197 -0.1544)
OKLCHoklch(68.26% 0.25 321.9)
XYZxyz(48.4829, 27.5139, 86.7442)
Luminance0.2751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51F2 #67F251
analogous
#8B51F2 #DC51F2 #F251B7
triadic
#DC51F2 #F2DC51 #51F2DC
tetradic
#DC51F2 #F28B51 #67F251 #51B7F2
square
#DC51F2 #F28B51 #67F251 #51B7F2
split-complementary
#DC51F2 #B7F251 #51F28B
monochromatic
#A30EBB #D118EE #DC51F2 #E78AF6 #F3C3FB

Accessibility & contrast

On white

3.23
#DC51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#DC51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51F2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51F2#FFFFFF#000000##000000
##DC51F21.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F85F7
Deuteranopia (green-blind)
#6594EE
Tritanopia (blue-blind)
#DE6D9C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc51f2;
/* rgb */ color: rgb(220, 81, 242);
/* oklch */ color: oklch(68.3% 0.250 321.9);
Tailwind
colors: {
  custom: {
    50: '#eb8cf7',
    500: '#dc51f2',
    950: '#000000',
  },
}
SCSS
$custom: #dc51f2;
$custom-light: #eb8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51f2",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 291.801,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68261,
    "c": 0.25026,
    "h": 321.9
  },
  "luminance": 0.27511
}

Semantic roles & 50–950 ramp

primary
#DC51F2
secondary
#BBECB3
accent
#E30321
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #DC51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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