#812BC0#812BC0

#812BC0 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.217 H 305.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#812BC0
RGBrgb(129, 43, 192)
HSLhsl(275, 63%, 46%)
HSVhsv(275, 78%, 75%)
CMYKcmyk(32.8%, 77.6%, 0%, 24.7%)
CIE-LABlab(38.20, 60.92, -61.67)
CIE-LCHlch(38.20, 86.69, 314.65°)
OKLaboklab(49.49% 0.127 -0.1756)
OKLCHoklch(49.49% 0.217 305.9)
XYZxyz(19.4295, 10.2008, 50.8043)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812BC0 #6AC02B
analogous
#372BC0 #812BC0 #C02BB4
triadic
#812BC0 #C0812B #2BC081
tetradic
#812BC0 #C0372B #6AC02B #2BB4C0
square
#812BC0 #C0372B #6AC02B #2BB4C0
split-complementary
#812BC0 #B4C02B #2BC037
monochromatic
#3E155C #5F208E #812BC0 #9F50D8 #BA82E3

Accessibility & contrast

On white

6.91
#812BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#812BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812BC0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812BC0#FFFFFF#000000##FFFFFF
##812BC01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#765175
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #812bc0;
/* rgb */ color: rgb(129, 43, 192);
/* oklch */ color: oklch(49.5% 0.217 305.9);
Tailwind
colors: {
  custom: {
    50: '#ab6ed4',
    500: '#812bc0',
    950: '#000000',
  },
}
SCSS
$custom: #812bc0;
$custom-light: #ab6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#812bc0",
  "rgb": {
    "r": 129,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 274.631,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.21671,
    "h": 305.9
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#812BC0
secondary
#9DCC7B
accent
#E64187
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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