#DE51F2#DE51F2

#DE51F2 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.5% C 0.251 H 322.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#DE51F2
RGBrgb(222, 81, 242)
HSLhsl(293, 86%, 63%)
HSVhsv(293, 67%, 95%)
CMYKcmyk(8.3%, 66.5%, 0%, 5.1%)
CIE-LABlab(59.73, 74.73, -54.85)
CIE-LCHlch(59.73, 92.70, 323.72°)
OKLaboklab(68.52% 0.1992 -0.1529)
OKLCHoklch(68.52% 0.251 322.5)
XYZxyz(49.0920, 27.8280, 86.7727)
Luminance0.2782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51F2 #65F251
analogous
#8E51F2 #DE51F2 #F251B5
triadic
#DE51F2 #F2DE51 #51F2DE
tetradic
#DE51F2 #F28E51 #65F251 #51B5F2
square
#DE51F2 #F28E51 #65F251 #51B5F2
split-complementary
#DE51F2 #B5F251 #51F28E
monochromatic
#A50EBB #D318EE #DE51F2 #E98AF6 #F4C3FB

Accessibility & contrast

On white

3.20
#DE51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#DE51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51F2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51F2#FFFFFF#000000##000000
##DE51F21.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F7
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#E16C9C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #de51f2;
/* rgb */ color: rgb(222, 81, 242);
/* oklch */ color: oklch(68.5% 0.251 322.5);
Tailwind
colors: {
  custom: {
    50: '#ec8cf7',
    500: '#de51f2',
    950: '#000000',
  },
}
SCSS
$custom: #de51f2;
$custom-light: #ec8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#de51f2",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 292.547,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68524,
    "c": 0.25113,
    "h": 322.5
  },
  "luminance": 0.27825
}

Semantic roles & 50–950 ramp

primary
#DE51F2
secondary
#BAECB3
accent
#E3031F
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #DE51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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