#DF2EC2#DF2EC2

#DF2EC2 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.3% C 0.252 H 336.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#DF2EC2
RGBrgb(223, 46, 194)
HSLhsl(310, 73%, 53%)
HSVhsv(310, 79%, 87%)
CMYKcmyk(0%, 79.4%, 13%, 12.5%)
CIE-LABlab(53.54, 78.52, -37.46)
CIE-LCHlch(53.54, 86.99, 334.50°)
OKLaboklab(63.31% 0.2307 -0.1023)
OKLCHoklch(63.31% 0.252 336.1)
XYZxyz(41.1467, 21.5409, 53.0193)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2EC2 #2EDF4B
analogous
#A42EDF #DF2EC2 #DF2E69
triadic
#DF2EC2 #C2DF2E #2EC2DF
tetradic
#DF2EC2 #DFA42E #2EDF4B #2E69DF
square
#DF2EC2 #DFA42E #2EDF4B #2E69DF
split-complementary
#DF2EC2 #69DF2E #2EDFA4
monochromatic
#7F136D #B41C9B #DF2EC2 #E763D1 #EF98E1

Accessibility & contrast

On white

3.96
#DF2EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#DF2EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2EC2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2EC2#FFFFFF#000000##000000
##DF2EC21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#316FC6
Deuteranopia (green-blind)
#7389BE
Tritanopia (blue-blind)
#EB3D78
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #df2ec2;
/* rgb */ color: rgb(223, 46, 194);
/* oklch */ color: oklch(63.3% 0.252 336.1);
Tailwind
colors: {
  custom: {
    50: '#ee7cd5',
    500: '#df2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #df2ec2;
$custom-light: #ee7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#df2ec2",
  "rgb": {
    "r": 223,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 309.831,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.63308,
    "c": 0.25234,
    "h": 336.1
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#DF2EC2
secondary
#8EDB9B
accent
#F05638
background
#FFF8FD
surface
#FFEFFA
border
#D7CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DF2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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