#812190#812190

#812190 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.183 H 321.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#812190
RGBrgb(129, 33, 144)
HSLhsl(292, 63%, 35%)
HSVhsv(292, 77%, 56%)
CMYKcmyk(10.4%, 77.1%, 0%, 43.5%)
CIE-LABlab(33.50, 54.61, -40.48)
CIE-LCHlch(33.50, 67.98, 323.45°)
OKLaboklab(45.08% 0.1441 -0.1133)
OKLCHoklch(45.08% 0.183 321.8)
XYZxyz(14.6306, 7.7693, 27.1091)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812190 #309021
analogous
#4A2190 #812190 #902168
triadic
#812190 #908121 #219081
tetradic
#812190 #904A21 #309021 #216890
square
#812190 #904A21 #309021 #216890
split-complementary
#812190 #689021 #21904A
monochromatic
#280A2C #54165E #812190 #AE2CC2 #C654D8

Accessibility & contrast

On white

8.22
#812190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#812190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812190
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812190#FFFFFF#000000##FFFFFF
##8121901.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#823757
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #812190;
/* rgb */ color: rgb(129, 33, 144);
/* oklch */ color: oklch(45.1% 0.183 321.8);
Tailwind
colors: {
  custom: {
    50: '#a968b1',
    500: '#812190',
    950: '#000000',
  },
}
SCSS
$custom: #812190;
$custom-light: #a968b1;
$custom-dark: #000000;
JSON
{
  "hex": "#812190",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 291.892,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45078,
    "c": 0.1833,
    "h": 321.8
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#812190
secondary
#60BB51
accent
#E64258
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812190

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

Preview Lab → · Contrast checker → · Palette generator →

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