#82278E#82278E

#82278E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.175 H 322.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#82278E
RGBrgb(130, 39, 142)
HSLhsl(293, 57%, 35%)
HSVhsv(293, 73%, 56%)
CMYKcmyk(8.5%, 72.5%, 0%, 44.3%)
CIE-LABlab(34.29, 52.29, -37.96)
CIE-LCHlch(34.29, 64.62, 324.02°)
OKLaboklab(45.64% 0.1396 -0.1059)
OKLCHoklch(45.64% 0.175 322.8)
XYZxyz(14.8134, 8.1507, 26.3789)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82278E #338E27
analogous
#4F278E #82278E #8E2766
triadic
#82278E #8E8227 #278E82
tetradic
#82278E #8E4F27 #338E27 #27668E
square
#82278E #8E4F27 #338E27 #27668E
split-complementary
#82278E #668E27 #278E4F
monochromatic
#2A0D2E #561A5E #82278E #AE34BE #C55DD2

Accessibility & contrast

On white

7.98
#82278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#82278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82278E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82278E#FFFFFF#000000##FFFFFF
##82278E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#37548C
Tritanopia (blue-blind)
#843958
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #82278e;
/* rgb */ color: rgb(130, 39, 142);
/* oklch */ color: oklch(45.6% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#aa6aaf',
    500: '#82278e',
    950: '#000000',
  },
}
SCSS
$custom: #82278e;
$custom-light: #aa6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#82278e",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 293.01,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45638,
    "c": 0.17523,
    "h": 322.8
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#82278E
secondary
#64B859
accent
#E04859
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82278E

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

Preview Lab → · Contrast checker → · Palette generator →

#82278E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva