#DF2CC2#DF2CC2

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

Color values

HEX#DF2CC2
RGBrgb(223, 44, 194)
HSLhsl(310, 74%, 52%)
HSVhsv(310, 80%, 87%)
CMYKcmyk(0%, 80.3%, 13%, 12.5%)
CIE-LABlab(53.37, 78.99, -37.71)
CIE-LCHlch(53.37, 87.53, 334.48°)
OKLaboklab(63.19% 0.2321 -0.103)
OKLCHoklch(63.19% 0.254 336.1)
XYZxyz(41.0704, 21.3883, 52.9938)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2CC2 #2CDF49
analogous
#A32CDF #DF2CC2 #DF2C68
triadic
#DF2CC2 #C2DF2C #2CC2DF
tetradic
#DF2CC2 #DFA32C #2CDF49 #2C68DF
square
#DF2CC2 #DFA32C #2CDF49 #2C68DF
split-complementary
#DF2CC2 #68DF2C #2CDFA3
monochromatic
#7E136C #B31B9A #DF2CC2 #E761D1 #EF96E1

Accessibility & contrast

On white

3.98
#DF2CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF2CC2#FFFFFF#000000##000000
##DF2CC21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#7289BE
Tritanopia (blue-blind)
#EB3C77
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #df2cc2;
/* rgb */ color: rgb(223, 44, 194);
/* oklch */ color: oklch(63.2% 0.254 336.1);
Tailwind
colors: {
  custom: {
    50: '#ee7bd5',
    500: '#df2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #df2cc2;
$custom-light: #ee7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#df2cc2",
  "rgb": {
    "r": 223,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 309.721,
    "s": 73.663,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.25393,
    "h": 336.1
  },
  "luminance": 0.21384
}

Semantic roles & 50–950 ramp

primary
#DF2CC2
secondary
#8CDA99
accent
#F05537
background
#FFF8FD
surface
#FFEFFA
border
#D7CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DF2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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