#812792#812792

#812792 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.178 H 320.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#812792
RGBrgb(129, 39, 146)
HSLhsl(290, 58%, 36%)
HSVhsv(290, 73%, 57%)
CMYKcmyk(11.6%, 73.3%, 0%, 42.7%)
CIE-LABlab(34.38, 52.83, -40.29)
CIE-LCHlch(34.38, 66.44, 322.67°)
OKLaboklab(45.75% 0.1382 -0.1128)
OKLCHoklch(45.75% 0.178 320.8)
XYZxyz(14.9665, 8.1943, 27.9819)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812792 #389227
analogous
#4C2792 #812792 #92276E
triadic
#812792 #928127 #279281
tetradic
#812792 #924C27 #389227 #276E92
square
#812792 #924C27 #389227 #276E92
split-complementary
#812792 #6E9227 #27924C
monochromatic
#2C0D31 #561A62 #812792 #AC34C2 #C25FD4

Accessibility & contrast

On white

7.96
#812792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#812792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812792
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812792#FFFFFF#000000##FFFFFF
##8127921.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#33548F
Tritanopia (blue-blind)
#823B5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812792;
/* rgb */ color: rgb(129, 39, 146);
/* oklch */ color: oklch(45.8% 0.178 320.8);
Tailwind
colors: {
  custom: {
    50: '#a96ab2',
    500: '#812792',
    950: '#000000',
  },
}
SCSS
$custom: #812792;
$custom-light: #a96ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#812792",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 290.467,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45751,
    "c": 0.17833,
    "h": 320.8
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#812792
secondary
#6ABA5B
accent
#E1475F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812792

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

Preview Lab → · Contrast checker → · Palette generator →

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