#812199#812199

#812199 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.191 H 318.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#812199
RGBrgb(129, 33, 153)
HSLhsl(288, 65%, 36%)
HSVhsv(288, 78%, 60%)
CMYKcmyk(15.7%, 78.4%, 0%, 40%)
CIE-LABlab(34.10, 56.32, -45.02)
CIE-LCHlch(34.10, 72.11, 321.36°)
OKLaboklab(45.7% 0.1431 -0.1266)
OKLCHoklch(45.7% 0.191 318.5)
XYZxyz(15.3461, 8.0555, 30.8773)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812199 #399921
analogous
#452199 #812199 #992175
triadic
#812199 #998121 #219981
tetradic
#812199 #994521 #399921 #217599
square
#812199 #994521 #399921 #217599
split-complementary
#812199 #759921 #219945
monochromatic
#2C0B34 #571667 #812199 #AB2CCB #C159DB

Accessibility & contrast

On white

8.04
#812199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#812199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812199
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812199#FFFFFF#000000##FFFFFF
##8121991.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812199;
/* rgb */ color: rgb(129, 33, 153);
/* oklch */ color: oklch(45.7% 0.191 318.5);
Tailwind
colors: {
  custom: {
    50: '#aa68b8',
    500: '#812199',
    950: '#000000',
  },
}
SCSS
$custom: #812199;
$custom-light: #aa68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#812199",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 288,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45695,
    "c": 0.19106,
    "h": 318.5
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#812199
secondary
#6BBF56
accent
#E84062
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812199

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

Preview Lab → · Contrast checker → · Palette generator →

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