#DF82F2#DF82F2

#DF82F2 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.181 H 320.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#DF82F2
RGBrgb(223, 130, 242)
HSLhsl(290, 81%, 73%)
HSVhsv(290, 46%, 95%)
CMYKcmyk(7.9%, 46.3%, 0%, 5.1%)
CIE-LABlab(68.07, 52.87, -41.68)
CIE-LCHlch(68.07, 67.32, 321.75°)
OKLaboklab(74.65% 0.1402 -0.115)
OKLCHoklch(74.65% 0.181 320.6)
XYZxyz(54.4391, 38.0661, 88.4671)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF82F2 #95F282
analogous
#A782F2 #DF82F2 #F282CD
triadic
#DF82F2 #F2DF82 #82F2DF
tetradic
#DF82F2 #F2A782 #95F282 #82CDF2
square
#DF82F2 #F2A782 #95F282 #82CDF2
split-complementary
#DF82F2 #CDF282 #82F2A7
monochromatic
#C018E2 #D14BEC #DF82F2 #EDB9F8 #F8E3FC

Accessibility & contrast

On white

2.44
#DF82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#DF82F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF82F2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF82F2#FFFFFF#000000##000000
##DF82F21.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#8CA9EF
Tritanopia (blue-blind)
#E190AF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #df82f2;
/* rgb */ color: rgb(223, 130, 242);
/* oklch */ color: oklch(74.7% 0.181 320.6);
Tailwind
colors: {
  custom: {
    50: '#eba9f6',
    500: '#df82f2',
    950: '#000000',
  },
}
SCSS
$custom: #df82f2;
$custom-light: #eba9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#df82f2",
  "rgb": {
    "r": 223,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 289.821,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74651,
    "c": 0.18139,
    "h": 320.6
  },
  "luminance": 0.38064
}

Semantic roles & 50–950 ramp

primary
#DF82F2
secondary
#DCF4D7
accent
#DE082C
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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