#DC82FC#DC82FC

#DC82FC is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.8% C 0.190 H 316.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#DC82FC
RGBrgb(220, 130, 252)
HSLhsl(284, 95%, 75%)
HSVhsv(284, 48%, 99%)
CMYKcmyk(12.7%, 48.4%, 0%, 1.2%)
CIE-LABlab(68.18, 54.00, -47.01)
CIE-LCHlch(68.18, 71.60, 318.95°)
OKLaboklab(74.8% 0.1382 -0.1305)
OKLCHoklch(74.8% 0.19 316.6)
XYZxyz(55.0659, 38.2109, 96.5513)
Luminance0.3821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC82FC #A2FC82
analogous
#9F82FC #DC82FC #FC82DF
triadic
#DC82FC #FCDC82 #82FCDC
tetradic
#DC82FC #FC9F82 #A2FC82 #82DFFC
square
#DC82FC #FC9F82 #A2FC82 #82DFFC
split-complementary
#DC82FC #DFFC82 #82FC9F
monochromatic
#BB0AF9 #CB46FB #DC82FC #EDBEFD #F7E1FE

Accessibility & contrast

On white

2.43
#DC82FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#DC82FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC82FC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC82FC#FFFFFF#000000##000000
##DC82FC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#DB94B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #dc82fc;
/* rgb */ color: rgb(220, 130, 252);
/* oklch */ color: oklch(74.8% 0.190 316.6);
Tailwind
colors: {
  custom: {
    50: '#e9a9fe',
    500: '#dc82fc',
    950: '#000000',
  },
}
SCSS
$custom: #dc82fc;
$custom-light: #e9a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc82fc",
  "rgb": {
    "r": 220,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 284.262,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74803,
    "c": 0.19008,
    "h": 316.6
  },
  "luminance": 0.38209
}

Semantic roles & 50–950 ramp

primary
#DC82FC
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DC82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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