#DC82F2#DC82F2

#DC82F2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.3% C 0.180 H 319.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#DC82F2
RGBrgb(220, 130, 242)
HSLhsl(288, 81%, 73%)
HSVhsv(288, 46%, 95%)
CMYKcmyk(9.1%, 46.3%, 0%, 5.1%)
CIE-LABlab(67.72, 52.03, -42.25)
CIE-LCHlch(67.72, 67.02, 320.92°)
OKLaboklab(74.32% 0.1368 -0.1168)
OKLCHoklch(74.32% 0.18 319.5)
XYZxyz(53.5228, 37.5936, 88.4241)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC82F2 #98F282
analogous
#A482F2 #DC82F2 #F282D0
triadic
#DC82F2 #F2DC82 #82F2DC
tetradic
#DC82F2 #F2A482 #98F282 #82D0F2
square
#DC82F2 #F2A482 #98F282 #82D0F2
split-complementary
#DC82F2 #D0F282 #82F2A4
monochromatic
#BA18E2 #CC4BEC #DC82F2 #ECB9F8 #F7E3FC

Accessibility & contrast

On white

2.47
#DC82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#DC82F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC82F2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC82F2#FFFFFF#000000##000000
##DC82F21.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#8AA8EF
Tritanopia (blue-blind)
#DD91AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dc82f2;
/* rgb */ color: rgb(220, 130, 242);
/* oklch */ color: oklch(74.3% 0.180 319.5);
Tailwind
colors: {
  custom: {
    50: '#e9a9f7',
    500: '#dc82f2',
    950: '#000000',
  },
}
SCSS
$custom: #dc82f2;
$custom-light: #e9a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc82f2",
  "rgb": {
    "r": 220,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 288.214,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74316,
    "c": 0.17986,
    "h": 319.5
  },
  "luminance": 0.37592
}

Semantic roles & 50–950 ramp

primary
#DC82F2
secondary
#DDF4D7
accent
#DE0832
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DC82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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