#812699#812699

#812699 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.186 H 318.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#812699
RGBrgb(129, 38, 153)
HSLhsl(287, 60%, 37%)
HSVhsv(287, 75%, 60%)
CMYKcmyk(15.7%, 75.2%, 0%, 40%)
CIE-LABlab(34.71, 54.57, -44.04)
CIE-LCHlch(34.71, 70.12, 321.09°)
OKLaboklab(46.13% 0.1385 -0.1237)
OKLCHoklch(46.13% 0.186 318.2)
XYZxyz(15.4953, 8.3540, 30.9271)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812699 #3E9926
analogous
#472699 #812699 #992678
triadic
#812699 #998126 #269981
tetradic
#812699 #994726 #3E9926 #267899
square
#812699 #994726 #3E9926 #267899
split-complementary
#812699 #789926 #269947
monochromatic
#2E0E37 #581A68 #812699 #AA32CA #BF62D8

Accessibility & contrast

On white

7.86
#812699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#812699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812699
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812699#FFFFFF#000000##FFFFFF
##8126991.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#2C5496
Tritanopia (blue-blind)
#803E5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #812699;
/* rgb */ color: rgb(129, 38, 153);
/* oklch */ color: oklch(46.1% 0.186 318.2);
Tailwind
colors: {
  custom: {
    50: '#a96ab8',
    500: '#812699',
    950: '#000000',
  },
}
SCSS
$custom: #812699;
$custom-light: #a96ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#812699",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 287.478,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46128,
    "c": 0.18575,
    "h": 318.2
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#812699
secondary
#72BD5E
accent
#E34466
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812699

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

Preview Lab → · Contrast checker → · Palette generator →

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