#DF5FF2#DF5FF2

#DF5FF2 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.1% C 0.234 H 322.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#DF5FF2
RGBrgb(223, 95, 242)
HSLhsl(292, 85%, 66%)
HSVhsv(292, 61%, 95%)
CMYKcmyk(7.9%, 60.7%, 0%, 5.1%)
CIE-LABlab(61.90, 69.32, -51.40)
CIE-LCHlch(61.90, 86.30, 323.45°)
OKLaboklab(70.12% 0.185 -0.1429)
OKLCHoklch(70.12% 0.234 322.3)
XYZxyz(50.5490, 30.2858, 87.1703)
Luminance0.3028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5FF2 #72F25F
analogous
#955FF2 #DF5FF2 #F25FBB
triadic
#DF5FF2 #F2DF5F #5FF2DF
tetradic
#DF5FF2 #F2955F #72F25F #5FBBF2
square
#DF5FF2 #F2955F #72F25F #5FBBF2
split-complementary
#DF5FF2 #BBF25F #5FF295
monochromatic
#AF10C6 #D426ED #DF5FF2 #EA98F7 #F6D0FB

Accessibility & contrast

On white

2.98
#DF5FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#DF5FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF5FF2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5FF2#FFFFFF#000000##000000
##DF5FF21.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#729BEE
Tritanopia (blue-blind)
#E276A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #df5ff2;
/* rgb */ color: rgb(223, 95, 242);
/* oklch */ color: oklch(70.1% 0.234 322.3);
Tailwind
colors: {
  custom: {
    50: '#ec94f7',
    500: '#df5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #df5ff2;
$custom-light: #ec94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df5ff2",
  "rgb": {
    "r": 223,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 292.245,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70118,
    "c": 0.23378,
    "h": 322.3
  },
  "luminance": 0.30283
}

Semantic roles & 50–950 ramp

primary
#DF5FF2
secondary
#C4EFBE
accent
#E10421
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DF5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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