#82278A#82278A

#82278A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.172 H 324.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#82278A
RGBrgb(130, 39, 138)
HSLhsl(295, 56%, 35%)
HSVhsv(295, 72%, 54%)
CMYKcmyk(5.8%, 71.7%, 0%, 45.9%)
CIE-LABlab(34.05, 51.54, -35.89)
CIE-LCHlch(34.05, 62.81, 325.15°)
OKLaboklab(45.39% 0.1397 -0.0999)
OKLCHoklch(45.39% 0.172 324.4)
XYZxyz(14.5185, 8.0327, 24.8256)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82278A #2F8A27
analogous
#51278A #82278A #8A2760
triadic
#82278A #8A8227 #278A82
tetradic
#82278A #8A5127 #2F8A27 #27608A
square
#82278A #8A5127 #2F8A27 #27608A
split-complementary
#82278A #608A27 #278A51
monochromatic
#280C2B #551A5A #82278A #AF34BA #C75BD1

Accessibility & contrast

On white

8.06
#82278A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#82278A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82278A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82278A#FFFFFF#000000##FFFFFF
##82278A1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#395488
Tritanopia (blue-blind)
#853856
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #82278a;
/* rgb */ color: rgb(130, 39, 138);
/* oklch */ color: oklch(45.4% 0.172 324.4);
Tailwind
colors: {
  custom: {
    50: '#a96aac',
    500: '#82278a',
    950: '#000000',
  },
}
SCSS
$custom: #82278a;
$custom-light: #a96aac;
$custom-dark: #000000;
JSON
{
  "hex": "#82278a",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 295.152,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.17174,
    "h": 324.4
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#82278A
secondary
#5FB657
accent
#DF4955
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82278A

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

Preview Lab → · Contrast checker → · Palette generator →

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