#812486#812486

#812486 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.171 H 325.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#812486
RGBrgb(129, 36, 134)
HSLhsl(297, 58%, 33%)
HSVhsv(297, 73%, 53%)
CMYKcmyk(3.7%, 73.1%, 0%, 47.5%)
CIE-LABlab(33.25, 51.71, -34.70)
CIE-LCHlch(33.25, 62.28, 326.13°)
OKLaboklab(44.7% 0.1417 -0.0964)
OKLCHoklch(44.7% 0.171 325.8)
XYZxyz(13.9869, 7.6510, 23.2897)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812486 #298624
analogous
#502486 #812486 #86245A
triadic
#812486 #868124 #248681
tetradic
#812486 #865024 #298624 #245A86
square
#812486 #865024 #298624 #245A86
split-complementary
#812486 #5A8624 #248650
monochromatic
#240A26 #531756 #812486 #AF31B6 #CB53D1

Accessibility & contrast

On white

8.30
#812486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#812486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812486
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812486#FFFFFF#000000##FFFFFF
##8124861.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4789
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#843453
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812486;
/* rgb */ color: rgb(129, 36, 134);
/* oklch */ color: oklch(44.7% 0.171 325.8);
Tailwind
colors: {
  custom: {
    50: '#a968aa',
    500: '#812486',
    950: '#000000',
  },
}
SCSS
$custom: #812486;
$custom-light: #a968aa;
$custom-dark: #000000;
JSON
{
  "hex": "#812486",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 296.939,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.17143,
    "h": 325.8
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#812486
secondary
#56B551
accent
#E1474F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812486

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

Preview Lab → · Contrast checker → · Palette generator →

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