#812299#812299

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

Color values

HEX#812299
RGBrgb(129, 34, 153)
HSLhsl(288, 64%, 37%)
HSVhsv(288, 78%, 60%)
CMYKcmyk(15.7%, 77.8%, 0%, 40%)
CIE-LABlab(34.21, 55.99, -44.83)
CIE-LCHlch(34.21, 71.73, 321.31°)
OKLaboklab(45.78% 0.1422 -0.126)
OKLCHoklch(45.78% 0.19 318.5)
XYZxyz(15.3743, 8.1118, 30.8867)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812299 #3A9922
analogous
#462299 #812299 #992276
triadic
#812299 #998122 #229981
tetradic
#812299 #994622 #3A9922 #227699
square
#812299 #994622 #3A9922 #227699
split-complementary
#812299 #769922 #229946
monochromatic
#2D0C35 #571767 #812299 #AB2DCB #C15BDB

Accessibility & contrast

On white

8.01
#812299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#812299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812299
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812299#FFFFFF#000000##FFFFFF
##8122991.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812299;
/* rgb */ color: rgb(129, 34, 153);
/* oklch */ color: oklch(45.8% 0.190 318.5);
Tailwind
colors: {
  custom: {
    50: '#a968b8',
    500: '#812299',
    950: '#000000',
  },
}
SCSS
$custom: #812299;
$custom-light: #a968b8;
$custom-dark: #000000;
JSON
{
  "hex": "#812299",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 287.899,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.19003,
    "h": 318.5
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#812299
secondary
#6DBF58
accent
#E74163
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812299

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

Preview Lab → · Contrast checker → · Palette generator →

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