#812E86#812E86

#812E86 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.158 H 325.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#812E86
RGBrgb(129, 46, 134)
HSLhsl(297, 49%, 35%)
HSVhsv(297, 66%, 53%)
CMYKcmyk(3.7%, 65.7%, 0%, 47.5%)
CIE-LABlab(34.69, 47.65, -32.41)
CIE-LCHlch(34.69, 57.63, 325.78°)
OKLaboklab(45.74% 0.1305 -0.0899)
OKLCHoklch(45.74% 0.158 325.4)
XYZxyz(14.3330, 8.3432, 23.4051)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E86 #33862E
analogous
#552E86 #812E86 #862E5F
triadic
#812E86 #86812E #2E8681
tetradic
#812E86 #86552E #33862E #2E5F86
square
#812E86 #86552E #33862E #2E5F86
split-complementary
#812E86 #5F862E #2E8655
monochromatic
#290F2B #551E58 #812E86 #AD3EB4 #C464CA

Accessibility & contrast

On white

7.87
#812E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#812E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E86
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E86#FFFFFF#000000##FFFFFF
##812E861.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#843B56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #812e86;
/* rgb */ color: rgb(129, 46, 134);
/* oklch */ color: oklch(45.7% 0.158 325.4);
Tailwind
colors: {
  custom: {
    50: '#a86da9',
    500: '#812e86',
    950: '#000000',
  },
}
SCSS
$custom: #812e86;
$custom-light: #a86da9;
$custom-dark: #000000;
JSON
{
  "hex": "#812e86",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 296.591,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45736,
    "c": 0.15841,
    "h": 325.4
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#812E86
secondary
#64B15F
accent
#D84F57
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812E86

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

Preview Lab → · Contrast checker → · Palette generator →

#812E86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva