#812292#812292

#812292 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.184 H 321.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#812292
RGBrgb(129, 34, 146)
HSLhsl(291, 62%, 35%)
HSVhsv(291, 77%, 57%)
CMYKcmyk(11.6%, 76.7%, 0%, 42.7%)
CIE-LABlab(33.75, 54.65, -41.31)
CIE-LCHlch(33.75, 68.50, 322.91°)
OKLaboklab(45.3% 0.143 -0.1157)
OKLCHoklch(45.3% 0.184 321)
XYZxyz(14.8130, 7.8873, 27.9307)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812292 #339222
analogous
#492292 #812292 #92226B
triadic
#812292 #928122 #229281
tetradic
#812292 #924922 #339222 #226B92
square
#812292 #924922 #339222 #226B92
split-complementary
#812292 #6B9222 #229249
monochromatic
#290B2F #551660 #812292 #AD2EC4 #C457D8

Accessibility & contrast

On white

8.15
#812292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#812292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812292
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812292#FFFFFF#000000##FFFFFF
##8122921.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812292;
/* rgb */ color: rgb(129, 34, 146);
/* oklch */ color: oklch(45.3% 0.184 321.0);
Tailwind
colors: {
  custom: {
    50: '#a968b2',
    500: '#812292',
    950: '#000000',
  },
}
SCSS
$custom: #812292;
$custom-light: #a968b2;
$custom-dark: #000000;
JSON
{
  "hex": "#812292",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 290.893,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.18397,
    "h": 321
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#812292
secondary
#64BC54
accent
#E5435B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812292

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

Preview Lab → · Contrast checker → · Palette generator →

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