#DF2FC4#DF2FC4

#DF2FC4 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.5% C 0.253 H 335.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#DF2FC4
RGBrgb(223, 47, 196)
HSLhsl(309, 73%, 53%)
HSVhsv(309, 79%, 87%)
CMYKcmyk(0%, 78.9%, 12.1%, 12.5%)
CIE-LABlab(53.72, 78.54, -38.32)
CIE-LCHlch(53.72, 87.39, 333.99°)
OKLaboklab(63.47% 0.2301 -0.1048)
OKLCHoklch(63.47% 0.253 335.5)
XYZxyz(41.4124, 21.7104, 54.2234)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2FC4 #2FDF4A
analogous
#A22FDF #DF2FC4 #DF2F6C
triadic
#DF2FC4 #C4DF2F #2FC4DF
tetradic
#DF2FC4 #DFA22F #2FDF4A #2F6CDF
square
#DF2FC4 #DFA22F #2FDF4A #2F6CDF
split-complementary
#DF2FC4 #6CDF2F #2FDFA2
monochromatic
#80146F #B51C9D #DF2FC4 #E764D3 #EF99E2

Accessibility & contrast

On white

3.93
#DF2FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#DF2FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2FC4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2FC4#FFFFFF#000000##000000
##DF2FC41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3070C8
Deuteranopia (green-blind)
#7289C0
Tritanopia (blue-blind)
#EA3F79
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #df2fc4;
/* rgb */ color: rgb(223, 47, 196);
/* oklch */ color: oklch(63.5% 0.253 335.5);
Tailwind
colors: {
  custom: {
    50: '#ed7cd6',
    500: '#df2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #df2fc4;
$custom-light: #ed7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#df2fc4",
  "rgb": {
    "r": 223,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 309.205,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6347,
    "c": 0.25281,
    "h": 335.5
  },
  "luminance": 0.21707
}

Semantic roles & 50–950 ramp

primary
#DF2FC4
secondary
#8FDB9B
accent
#F05438
background
#FFF8FD
surface
#FEEFFA
border
#D6CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DF2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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