#812392#812392

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

Color values

HEX#812392
RGBrgb(129, 35, 146)
HSLhsl(291, 61%, 35%)
HSVhsv(291, 76%, 57%)
CMYKcmyk(11.6%, 76%, 0%, 42.7%)
CIE-LABlab(33.87, 54.30, -41.11)
CIE-LCHlch(33.87, 68.11, 322.87°)
OKLaboklab(45.38% 0.1421 -0.1151)
OKLCHoklch(45.38% 0.183 321)
XYZxyz(14.8420, 7.9453, 27.9404)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812392 #349223
analogous
#492392 #812392 #92236B
triadic
#812392 #928123 #239281
tetradic
#812392 #924923 #349223 #236B92
square
#812392 #924923 #349223 #236B92
split-complementary
#812392 #6B9223 #239249
monochromatic
#2A0B2F #551761 #812392 #AD2FC3 #C458D7

Accessibility & contrast

On white

8.11
#812392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#812392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812392
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812392#FFFFFF#000000##FFFFFF
##8123921.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#30538F
Tritanopia (blue-blind)
#823959
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812392;
/* rgb */ color: rgb(129, 35, 146);
/* oklch */ color: oklch(45.4% 0.183 321.0);
Tailwind
colors: {
  custom: {
    50: '#a969b2',
    500: '#812392',
    950: '#000000',
  },
}
SCSS
$custom: #812392;
$custom-light: #a969b2;
$custom-dark: #000000;
JSON
{
  "hex": "#812392",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 290.811,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.18288,
    "h": 321
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#812392
secondary
#65BB55
accent
#E4435C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812392

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

Preview Lab → · Contrast checker → · Palette generator →

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