#812696#812696

#812696 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.183 H 319.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#812696
RGBrgb(129, 38, 150)
HSLhsl(289, 60%, 37%)
HSVhsv(289, 75%, 59%)
CMYKcmyk(14%, 74.7%, 0%, 41.2%)
CIE-LABlab(34.51, 53.98, -42.53)
CIE-LCHlch(34.51, 68.72, 321.77°)
OKLaboklab(45.92% 0.1388 -0.1193)
OKLCHoklch(45.92% 0.183 319.3)
XYZxyz(15.2507, 8.2561, 29.6385)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812696 #3B9626
analogous
#492696 #812696 #962673
triadic
#812696 #968126 #269681
tetradic
#812696 #964926 #3B9626 #267396
square
#812696 #964926 #3B9626 #267396
split-complementary
#812696 #739626 #269649
monochromatic
#2D0D34 #571A65 #812696 #AB32C7 #C060D7

Accessibility & contrast

On white

7.92
#812696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#812696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812696
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812696#FFFFFF#000000##FFFFFF
##8126961.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#813C5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812696;
/* rgb */ color: rgb(129, 38, 150);
/* oklch */ color: oklch(45.9% 0.183 319.3);
Tailwind
colors: {
  custom: {
    50: '#a96ab5',
    500: '#812696',
    950: '#000000',
  },
}
SCSS
$custom: #812696;
$custom-light: #a96ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#812696",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 288.75,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.18306,
    "h": 319.3
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#812696
secondary
#6EBC5C
accent
#E34563
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812696

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

Preview Lab → · Contrast checker → · Palette generator →

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