#812099#812099

#812099 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.192 H 318.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#812099
RGBrgb(129, 32, 153)
HSLhsl(288, 65%, 36%)
HSVhsv(288, 79%, 60%)
CMYKcmyk(15.7%, 79.1%, 0%, 40%)
CIE-LABlab(33.98, 56.65, -45.21)
CIE-LCHlch(33.98, 72.48, 321.41°)
OKLaboklab(45.62% 0.144 -0.1271)
OKLCHoklch(45.62% 0.192 318.6)
XYZxyz(15.3188, 8.0008, 30.8682)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812099 #389920
analogous
#452099 #812099 #992075
triadic
#812099 #998120 #209981
tetradic
#812099 #994520 #389920 #207599
square
#812099 #994520 #389920 #207599
split-complementary
#812099 #759920 #209945
monochromatic
#2C0B34 #561566 #812099 #AC2BCC #C257DC

Accessibility & contrast

On white

8.08
#812099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#812099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812099
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812099#FFFFFF#000000##FFFFFF
##8120991.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#803B5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812099;
/* rgb */ color: rgb(129, 32, 153);
/* oklch */ color: oklch(45.6% 0.192 318.6);
Tailwind
colors: {
  custom: {
    50: '#aa68b8',
    500: '#812099',
    950: '#000000',
  },
}
SCSS
$custom: #812099;
$custom-light: #aa68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#812099",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 288.099,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.19204,
    "h": 318.6
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#812099
secondary
#6AC055
accent
#E83F61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812099

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

Preview Lab → · Contrast checker → · Palette generator →

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