#DD51F2#DD51F2

#DD51F2 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.4% C 0.251 H 322.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#DD51F2
RGBrgb(221, 81, 242)
HSLhsl(292, 86%, 63%)
HSVhsv(292, 67%, 95%)
CMYKcmyk(8.7%, 66.5%, 0%, 5.1%)
CIE-LABlab(59.59, 74.52, -55.09)
CIE-LCHlch(59.59, 92.67, 323.53°)
OKLaboklab(68.39% 0.1981 -0.1536)
OKLCHoklch(68.39% 0.251 322.2)
XYZxyz(48.7866, 27.6705, 86.7584)
Luminance0.2767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51F2 #66F251
analogous
#8C51F2 #DD51F2 #F251B6
triadic
#DD51F2 #F2DD51 #51F2DD
tetradic
#DD51F2 #F28C51 #66F251 #51B6F2
square
#DD51F2 #F28C51 #66F251 #51B6F2
split-complementary
#DD51F2 #B6F251 #51F28C
monochromatic
#A40EBB #D218EE #DD51F2 #E88AF6 #F3C3FB

Accessibility & contrast

On white

3.21
#DD51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#DD51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51F2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51F2#FFFFFF#000000##000000
##DD51F21.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F7
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#E06C9C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dd51f2;
/* rgb */ color: rgb(221, 81, 242);
/* oklch */ color: oklch(68.4% 0.251 322.2);
Tailwind
colors: {
  custom: {
    50: '#eb8cf7',
    500: '#dd51f2',
    950: '#000000',
  },
}
SCSS
$custom: #dd51f2;
$custom-light: #eb8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51f2",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 292.174,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68393,
    "c": 0.25069,
    "h": 322.2
  },
  "luminance": 0.27668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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