#812192#812192

#812192 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.185 H 321.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#812192
RGBrgb(129, 33, 146)
HSLhsl(291, 63%, 35%)
HSVhsv(291, 77%, 57%)
CMYKcmyk(11.6%, 77.4%, 0%, 42.7%)
CIE-LABlab(33.63, 54.99, -41.50)
CIE-LCHlch(33.63, 68.89, 322.96°)
OKLaboklab(45.21% 0.1439 -0.1163)
OKLCHoklch(45.21% 0.185 321.1)
XYZxyz(14.7848, 7.8310, 27.9213)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812192 #329221
analogous
#482192 #812192 #92216B
triadic
#812192 #928121 #219281
tetradic
#812192 #924821 #329221 #216B92
square
#812192 #924821 #329221 #216B92
split-complementary
#812192 #6B9221 #219248
monochromatic
#290A2E #551660 #812192 #AD2CC4 #C555D9

Accessibility & contrast

On white

8.18
#812192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#812192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812192
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812192#FFFFFF#000000##FFFFFF
##8121921.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#2F528F
Tritanopia (blue-blind)
#823859
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #812192;
/* rgb */ color: rgb(129, 33, 146);
/* oklch */ color: oklch(45.2% 0.185 321.1);
Tailwind
colors: {
  custom: {
    50: '#a968b2',
    500: '#812192',
    950: '#000000',
  },
}
SCSS
$custom: #812192;
$custom-light: #a968b2;
$custom-dark: #000000;
JSON
{
  "hex": "#812192",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 290.973,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.18502,
    "h": 321.1
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#812192
secondary
#62BC53
accent
#E6425A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812192

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

Preview Lab → · Contrast checker → · Palette generator →

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