#812992#812992

#812992 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.176 H 320.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#812992
RGBrgb(129, 41, 146)
HSLhsl(290, 56%, 37%)
HSVhsv(290, 72%, 57%)
CMYKcmyk(11.6%, 71.9%, 0%, 42.7%)
CIE-LABlab(34.66, 52.05, -39.85)
CIE-LCHlch(34.66, 65.55, 322.56°)
OKLaboklab(45.95% 0.1361 -0.1115)
OKLCHoklch(45.95% 0.176 320.7)
XYZxyz(15.0339, 8.3291, 28.0043)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812992 #3A9229
analogous
#4D2992 #812992 #92296F
triadic
#812992 #928129 #299281
tetradic
#812992 #924D29 #3A9229 #296F92
square
#812992 #924D29 #3A9229 #296F92
split-complementary
#812992 #6F9229 #29924D
monochromatic
#2D0E32 #571C62 #812992 #AB36C2 #C162D3

Accessibility & contrast

On white

7.88
#812992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#812992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812992
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812992#FFFFFF#000000##FFFFFF
##8129921.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#823C5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812992;
/* rgb */ color: rgb(129, 41, 146);
/* oklch */ color: oklch(45.9% 0.176 320.7);
Tailwind
colors: {
  custom: {
    50: '#a96bb2',
    500: '#812992',
    950: '#000000',
  },
}
SCSS
$custom: #812992;
$custom-light: #a96bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#812992",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 290.286,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45947,
    "c": 0.17591,
    "h": 320.7
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#812992
secondary
#6DB95E
accent
#DF4861
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812992

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

Preview Lab → · Contrast checker → · Palette generator →

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