#DF2AC6#DF2AC6

#DF2AC6 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 63.3% C 0.258 H 334.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#DF2AC6
RGBrgb(223, 42, 198)
HSLhsl(308, 74%, 52%)
HSVhsv(308, 81%, 87%)
CMYKcmyk(0%, 81.2%, 11.2%, 12.5%)
CIE-LABlab(53.41, 79.99, -39.96)
CIE-LCHlch(53.41, 89.42, 333.45°)
OKLaboklab(63.28% 0.2336 -0.1095)
OKLCHoklch(63.28% 0.258 334.9)
XYZxyz(41.4530, 21.4250, 55.3674)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2AC6 #2ADF43
analogous
#9D2ADF #DF2AC6 #DF2A6C
triadic
#DF2AC6 #C6DF2A #2AC6DF
tetradic
#DF2AC6 #DF9D2A #2ADF43 #2A6CDF
square
#DF2AC6 #DF9D2A #2ADF43 #2A6CDF
split-complementary
#DF2AC6 #6CDF2A #2ADF9D
monochromatic
#7C136D #B11B9C #DF2AC6 #E75FD4 #EF94E2

Accessibility & contrast

On white

3.97
#DF2AC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#DF2AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2AC6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2AC6#FFFFFF#000000##000000
##DF2AC61.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#286FCA
Deuteranopia (green-blind)
#7089C2
Tritanopia (blue-blind)
#EA3D79
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #df2ac6;
/* rgb */ color: rgb(223, 42, 198);
/* oklch */ color: oklch(63.3% 0.258 334.9);
Tailwind
colors: {
  custom: {
    50: '#ee7bd8',
    500: '#df2ac6',
    950: '#000000',
  },
}
SCSS
$custom: #df2ac6;
$custom-light: #ee7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#df2ac6",
  "rgb": {
    "r": 223,
    "g": 42,
    "b": 198
  },
  "hsl": {
    "h": 308.287,
    "s": 73.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.63282,
    "c": 0.25801,
    "h": 334.9
  },
  "luminance": 0.21421
}

Semantic roles & 50–950 ramp

primary
#DF2AC6
secondary
#8BDA96
accent
#F15137
background
#FFF8FD
surface
#FFEFFA
border
#D7CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DF2AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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