#812892#812892

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

Color values

HEX#812892
RGBrgb(129, 40, 146)
HSLhsl(290, 57%, 36%)
HSVhsv(290, 73%, 57%)
CMYKcmyk(11.6%, 72.6%, 0%, 42.7%)
CIE-LABlab(34.52, 52.44, -40.07)
CIE-LCHlch(34.52, 66.00, 322.62°)
OKLaboklab(45.85% 0.1371 -0.1121)
OKLCHoklch(45.85% 0.177 320.7)
XYZxyz(14.9998, 8.2608, 27.9930)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812892 #399228
analogous
#4C2892 #812892 #92286E
triadic
#812892 #928128 #289281
tetradic
#812892 #924C28 #399228 #286E92
square
#812892 #924C28 #399228 #286E92
split-complementary
#812892 #6E9228 #28924C
monochromatic
#2C0E32 #571B62 #812892 #AB35C2 #C161D4

Accessibility & contrast

On white

7.92
#812892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#812892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812892
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812892#FFFFFF#000000##FFFFFF
##8128921.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812892;
/* rgb */ color: rgb(129, 40, 146);
/* oklch */ color: oklch(45.8% 0.177 320.7);
Tailwind
colors: {
  custom: {
    50: '#a96bb2',
    500: '#812892',
    950: '#000000',
  },
}
SCSS
$custom: #812892;
$custom-light: #a96bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#812892",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 290.377,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.17713,
    "h": 320.7
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#812892
secondary
#6BB95D
accent
#E04860
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812892

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

Preview Lab → · Contrast checker → · Palette generator →

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