#82258B#82258B

#82258B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.175 H 324.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#82258B
RGBrgb(130, 37, 139)
HSLhsl(295, 58%, 35%)
HSVhsv(295, 73%, 55%)
CMYKcmyk(6.5%, 73.4%, 0%, 45.5%)
CIE-LABlab(33.84, 52.48, -36.83)
CIE-LCHlch(33.84, 64.12, 324.94°)
OKLaboklab(45.26% 0.1418 -0.1026)
OKLCHoklch(45.26% 0.175 324.1)
XYZxyz(14.5273, 7.9339, 25.1873)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82258B #2E8B25
analogous
#4F258B #82258B #8B2561
triadic
#82258B #8B8225 #258B82
tetradic
#82258B #8B4F25 #2E8B25 #25618B
square
#82258B #8B4F25 #2E8B25 #25618B
split-complementary
#82258B #618B25 #258B4F
monochromatic
#280B2A #55185B #82258B #AF32BB #C858D3

Accessibility & contrast

On white

8.12
#82258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#82258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82258B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82258B#FFFFFF#000000##FFFFFF
##82258B1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02498E
Deuteranopia (green-blind)
#385389
Tritanopia (blue-blind)
#853756
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #82258b;
/* rgb */ color: rgb(130, 37, 139);
/* oklch */ color: oklch(45.3% 0.175 324.1);
Tailwind
colors: {
  custom: {
    50: '#aa69ad',
    500: '#82258b',
    950: '#000000',
  },
}
SCSS
$custom: #82258b;
$custom-light: #aa69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#82258b",
  "rgb": {
    "r": 130,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 294.706,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45257,
    "c": 0.17501,
    "h": 324.1
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#82258B
secondary
#5DB755
accent
#E14754
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82258B

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

Preview Lab → · Contrast checker → · Palette generator →

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