#812296#812296

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

Color values

HEX#812296
RGBrgb(129, 34, 150)
HSLhsl(289, 63%, 36%)
HSVhsv(289, 77%, 59%)
CMYKcmyk(14%, 77.3%, 0%, 41.2%)
CIE-LABlab(34.01, 55.41, -43.33)
CIE-LCHlch(34.01, 70.34, 321.97°)
OKLaboklab(45.57% 0.1426 -0.1216)
OKLCHoklch(45.57% 0.187 319.5)
XYZxyz(15.1296, 8.0140, 29.5982)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812296 #379622
analogous
#472296 #812296 #962271
triadic
#812296 #968122 #229681
tetradic
#812296 #964722 #379622 #227196
square
#812296 #964722 #379622 #227196
split-complementary
#812296 #719622 #229647
monochromatic
#2B0B32 #561764 #812296 #AC2DC8 #C259D9

Accessibility & contrast

On white

8.07
#812296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812296
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812296#FFFFFF#000000##FFFFFF
##8122961.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#2C5393
Tritanopia (blue-blind)
#813A5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812296;
/* rgb */ color: rgb(129, 34, 150);
/* oklch */ color: oklch(45.6% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#a968b5',
    500: '#812296',
    950: '#000000',
  },
}
SCSS
$custom: #812296;
$custom-light: #a968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#812296",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 289.138,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45569,
    "c": 0.18743,
    "h": 319.5
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#812296
secondary
#69BE56
accent
#E6425F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812296

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

Preview Lab → · Contrast checker → · Palette generator →

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