#82258A#82258A

#82258A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.174 H 324.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#82258A
RGBrgb(130, 37, 138)
HSLhsl(295, 58%, 34%)
HSVhsv(295, 73%, 54%)
CMYKcmyk(5.8%, 73.2%, 0%, 45.9%)
CIE-LABlab(33.78, 52.30, -36.31)
CIE-LCHlch(33.78, 63.67, 325.23°)
OKLaboklab(45.19% 0.1418 -0.1011)
OKLCHoklch(45.19% 0.174 324.5)
XYZxyz(14.4546, 7.9048, 24.8043)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82258A #2D8A25
analogous
#50258A #82258A #8A255F
triadic
#82258A #8A8225 #258A82
tetradic
#82258A #8A5025 #2D8A25 #255F8A
square
#82258A #8A5025 #2D8A25 #255F8A
split-complementary
#82258A #5F8A25 #258A50
monochromatic
#270B29 #55185A #82258A #AF32BA #C857D2

Accessibility & contrast

On white

8.14
#82258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#82258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82258A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82258A#FFFFFF#000000##FFFFFF
##82258A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#385388
Tritanopia (blue-blind)
#853655
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82258a;
/* rgb */ color: rgb(130, 37, 138);
/* oklch */ color: oklch(45.2% 0.174 324.5);
Tailwind
colors: {
  custom: {
    50: '#aa69ad',
    500: '#82258a',
    950: '#000000',
  },
}
SCSS
$custom: #82258a;
$custom-light: #aa69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#82258a",
  "rgb": {
    "r": 130,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 295.248,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45194,
    "c": 0.17415,
    "h": 324.5
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#82258A
secondary
#5CB754
accent
#E14753
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82258A

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

Preview Lab → · Contrast checker → · Palette generator →

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