#812EB6#812EB6

#812EB6 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.204 H 308.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#812EB6
RGBrgb(129, 46, 182)
HSLhsl(277, 60%, 45%)
HSVhsv(277, 75%, 71%)
CMYKcmyk(29.1%, 74.7%, 0%, 28.6%)
CIE-LABlab(37.84, 57.55, -56.37)
CIE-LCHlch(37.84, 80.56, 315.59°)
OKLaboklab(48.99% 0.1265 -0.16)
OKLCHoklch(48.99% 0.204 308.3)
XYZxyz(18.4720, 9.9988, 45.2038)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812EB6 #63B62E
analogous
#3D2EB6 #812EB6 #B62EA7
triadic
#812EB6 #B6812E #2EB681
tetradic
#812EB6 #B63D2E #63B62E #2EA7B6
square
#812EB6 #B63D2E #63B62E #2EA7B6
split-complementary
#812EB6 #A7B62E #2EB63D
monochromatic
#3C1554 #5E2285 #812EB6 #9F4FD2 #BA80DF

Accessibility & contrast

On white

7.00
#812EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#812EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812EB6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812EB6#FFFFFF#000000##FFFFFF
##812EB61.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#794F70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #812eb6;
/* rgb */ color: rgb(129, 46, 182);
/* oklch */ color: oklch(49.0% 0.204 308.3);
Tailwind
colors: {
  custom: {
    50: '#aa6fcd',
    500: '#812eb6',
    950: '#000000',
  },
}
SCSS
$custom: #812eb6;
$custom-light: #aa6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#812eb6",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 276.618,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48993,
    "c": 0.20398,
    "h": 308.3
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#812EB6
secondary
#97C878
accent
#E34582
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #812EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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