#812BB0#812BB0

#812BB0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.202 H 310.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#812BB0
RGBrgb(129, 43, 176)
HSLhsl(279, 61%, 43%)
HSVhsv(279, 76%, 69%)
CMYKcmyk(26.7%, 75.6%, 0%, 31%)
CIE-LABlab(36.99, 57.42, -54.20)
CIE-LCHlch(36.99, 78.96, 316.65°)
OKLaboklab(48.25% 0.1304 -0.1536)
OKLCHoklch(48.25% 0.202 310.3)
XYZxyz(17.7521, 9.5299, 41.9702)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812BB0 #5AB02B
analogous
#3E2BB0 #812BB0 #B02B9C
triadic
#812BB0 #B0812B #2BB081
tetradic
#812BB0 #B03E2B #5AB02B #2B9CB0
square
#812BB0 #B03E2B #5AB02B #2B9CB0
split-complementary
#812BB0 #9CB02B #2BB03E
monochromatic
#39134E #5D1F7F #812BB0 #A146D2 #BA78DE

Accessibility & contrast

On white

7.23
#812BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#812BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812BB0
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812BB0#FFFFFF#000000##FFFFFF
##812BB01.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812bb0;
/* rgb */ color: rgb(129, 43, 176);
/* oklch */ color: oklch(48.3% 0.202 310.3);
Tailwind
colors: {
  custom: {
    50: '#aa6dc8',
    500: '#812bb0',
    950: '#000000',
  },
}
SCSS
$custom: #812bb0;
$custom-light: #aa6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#812bb0",
  "rgb": {
    "r": 129,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 278.797,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.2015,
    "h": 310.3
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#812BB0
secondary
#8FC671
accent
#E4447C
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #812BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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