#812AB0#812AB0

#812AB0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.203 H 310.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#812AB0
RGBrgb(129, 42, 176)
HSLhsl(279, 61%, 43%)
HSVhsv(279, 76%, 69%)
CMYKcmyk(26.7%, 76.1%, 0%, 31%)
CIE-LABlab(36.85, 57.81, -54.42)
CIE-LCHlch(36.85, 79.39, 316.73°)
OKLaboklab(48.16% 0.1313 -0.1542)
OKLCHoklch(48.16% 0.203 310.4)
XYZxyz(17.7162, 9.4580, 41.9582)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812AB0 #59B02A
analogous
#3E2AB0 #812AB0 #B02A9C
triadic
#812AB0 #B0812A #2AB081
tetradic
#812AB0 #B03E2A #59B02A #2A9CB0
square
#812AB0 #B03E2A #59B02A #2A9CB0
split-complementary
#812AB0 #9CB02A #2AB03E
monochromatic
#39124D #5D1E7F #812AB0 #A145D3 #BA76DE

Accessibility & contrast

On white

7.26
#812AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#812AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812AB0
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812AB0#FFFFFF#000000##FFFFFF
##812AB01.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0558AD
Tritanopia (blue-blind)
#7A4A6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #812ab0;
/* rgb */ color: rgb(129, 42, 176);
/* oklch */ color: oklch(48.2% 0.203 310.4);
Tailwind
colors: {
  custom: {
    50: '#aa6dc8',
    500: '#812ab0',
    950: '#000000',
  },
}
SCSS
$custom: #812ab0;
$custom-light: #aa6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#812ab0",
  "rgb": {
    "r": 129,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 278.955,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.20257,
    "h": 310.4
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#812AB0
secondary
#8EC670
accent
#E5437C
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #812AB0

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

Preview Lab → · Contrast checker → · Palette generator →

#812AB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva