#82318B#82318B

#82318B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.159 H 323.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#82318B
RGBrgb(130, 49, 139)
HSLhsl(294, 48%, 37%)
HSVhsv(294, 65%, 55%)
CMYKcmyk(6.5%, 64.7%, 0%, 45.5%)
CIE-LABlab(35.61, 47.52, -34.03)
CIE-LCHlch(35.61, 58.45, 324.40°)
OKLaboklab(46.53% 0.1281 -0.0945)
OKLCHoklch(46.53% 0.159 323.6)
XYZxyz(14.9640, 8.8074, 25.3329)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82318B #3A8B31
analogous
#55318B #82318B #8B3167
triadic
#82318B #8B8231 #318B82
tetradic
#82318B #8B5531 #3A8B31 #31678B
square
#82318B #8B5531 #3A8B31 #31678B
split-complementary
#82318B #678B31 #318B55
monochromatic
#2D1131 #58215E #82318B #AC41B8 #C16BCB

Accessibility & contrast

On white

7.60
#82318B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#82318B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82318B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82318B#FFFFFF#000000##FFFFFF
##82318B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#843F59
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #82318b;
/* rgb */ color: rgb(130, 49, 139);
/* oklch */ color: oklch(46.5% 0.159 323.6);
Tailwind
colors: {
  custom: {
    50: '#a96fad',
    500: '#82318b',
    950: '#000000',
  },
}
SCSS
$custom: #82318b;
$custom-light: #a96fad;
$custom-dark: #000000;
JSON
{
  "hex": "#82318b",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 294,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46528,
    "c": 0.15924,
    "h": 323.6
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#82318B
secondary
#6DB265
accent
#D7505E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #82318B

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

Preview Lab → · Contrast checker → · Palette generator →

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