#815482#815482

#815482 is a mid, moderate purple. Relative luminance 0.126; OKLCH L 51.2% C 0.089 H 326.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#815482
RGBrgb(129, 84, 130)
HSLhsl(299, 21%, 42%)
HSVhsv(299, 35%, 51%)
CMYKcmyk(0.8%, 35.4%, 0%, 49%)
CIE-LABlab(42.19, 26.72, -18.26)
CIE-LCHlch(42.19, 32.37, 325.65°)
OKLaboklab(51.23% 0.0737 -0.0496)
OKLCHoklch(51.23% 0.089 326)
XYZxyz(16.2525, 12.6201, 22.6946)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815482 #558254
analogous
#6A5482 #815482 #82546C
triadic
#815482 #828154 #548281
tetradic
#815482 #826A54 #558254 #546C82
square
#815482 #826A54 #558254 #546C82
split-complementary
#815482 #6C8254 #54826A
monochromatic
#372438 #5C3C5D #815482 #A270A3 #BA96BB

Accessibility & contrast

On white

5.96
#815482 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#815482 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815482
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815482#FFFFFF#000000##FFFFFF
##8154821.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506084
Deuteranopia (green-blind)
#5C6680
Tritanopia (blue-blind)
#845865
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #815482;
/* rgb */ color: rgb(129, 84, 130);
/* oklch */ color: oklch(51.2% 0.089 326.0);
Tailwind
colors: {
  custom: {
    50: '#a685a6',
    500: '#815482',
    950: '#000000',
  },
}
SCSS
$custom: #815482;
$custom-light: #a685a6;
$custom-dark: #000000;
JSON
{
  "hex": "#815482",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 298.696,
    "s": 21.495,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.08885,
    "h": 326
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#815482
secondary
#8AA88A
accent
#BE6A6C
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #815482

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

Preview Lab → · Contrast checker → · Palette generator →

#815482 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva