#812082#812082

#812082 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.173 H 327.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#812082
RGBrgb(129, 32, 130)
HSLhsl(299, 60%, 32%)
HSVhsv(299, 75%, 51%)
CMYKcmyk(0.8%, 75.4%, 0%, 49%)
CIE-LABlab(32.51, 52.42, -33.38)
CIE-LCHlch(32.51, 62.15, 327.51°)
OKLaboklab(44.09% 0.1458 -0.0926)
OKLCHoklch(44.09% 0.173 327.6)
XYZxyz(13.5988, 7.3128, 21.8100)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812082 #218220
analogous
#502082 #812082 #822052
triadic
#812082 #828120 #208281
tetradic
#812082 #825020 #218220 #205282
square
#812082 #825020 #218220 #205282
split-complementary
#812082 #528220 #208250
monochromatic
#200820 #501451 #812082 #B22CB3 #D14AD2

Accessibility & contrast

On white

8.53
#812082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#812082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812082
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812082#FFFFFF#000000##FFFFFF
##8120821.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4485
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#85304F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812082;
/* rgb */ color: rgb(129, 32, 130);
/* oklch */ color: oklch(44.1% 0.173 327.6);
Tailwind
colors: {
  custom: {
    50: '#a967a7',
    500: '#812082',
    950: '#000000',
  },
}
SCSS
$custom: #812082;
$custom-light: #a967a7;
$custom-dark: #000000;
JSON
{
  "hex": "#812082",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 299.388,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44094,
    "c": 0.17268,
    "h": 327.6
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#812082
secondary
#4AB549
accent
#E44446
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #812082

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

Preview Lab → · Contrast checker → · Palette generator →

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