#DF2FE2#DF2FE2

#DF2FE2 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 65.1% C 0.273 H 327.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#DF2FE2
RGBrgb(223, 47, 226)
HSLhsl(299, 76%, 54%)
HSVhsv(299, 79%, 89%)
CMYKcmyk(1.3%, 79.2%, 0%, 11.4%)
CIE-LABlab(55.29, 82.90, -52.95)
CIE-LCHlch(55.29, 98.37, 327.43°)
OKLaboklab(65.1% 0.2301 -0.1471)
OKLCHoklch(65.1% 0.273 327.4)
XYZxyz(45.1747, 23.2153, 74.0384)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2FE2 #32E22F
analogous
#852FE2 #DF2FE2 #E22F8C
triadic
#DF2FE2 #E2DF2F #2FE2DF
tetradic
#DF2FE2 #E2852F #32E22F #2F8CE2
square
#DF2FE2 #E2852F #32E22F #2F8CE2
split-complementary
#DF2FE2 #8CE22F #2FE285
monochromatic
#821284 #B71ABA #DF2FE2 #E765E9 #F09AF1

Accessibility & contrast

On white

3.72
#DF2FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#DF2FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2FE2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2FE2#FFFFFF#000000##000000
##DF2FE21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#628CDE
Tritanopia (blue-blind)
#E6508A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df2fe2;
/* rgb */ color: rgb(223, 47, 226);
/* oklch */ color: oklch(65.1% 0.273 327.4);
Tailwind
colors: {
  custom: {
    50: '#ee7dec',
    500: '#df2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #df2fe2;
$custom-light: #ee7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#df2fe2",
  "rgb": {
    "r": 223,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 298.994,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.651,
    "c": 0.27309,
    "h": 327.4
  },
  "luminance": 0.23212
}

Semantic roles & 50–950 ramp

primary
#DF2FE2
secondary
#91DD90
accent
#F23639
background
#FFF8FE
surface
#FFEFFD
border
#D7CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #DF2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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