#812BBE#812BBE

#812BBE is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.215 H 306.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#812BBE
RGBrgb(129, 43, 190)
HSLhsl(275, 63%, 46%)
HSVhsv(275, 77%, 75%)
CMYKcmyk(32.1%, 77.4%, 0%, 25.5%)
CIE-LABlab(38.04, 60.47, -60.75)
CIE-LCHlch(38.04, 85.72, 314.87°)
OKLaboklab(49.33% 0.1275 -0.1729)
OKLCHoklch(49.33% 0.215 306.4)
XYZxyz(19.2094, 10.1128, 49.6452)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812BBE #68BE2B
analogous
#372BBE #812BBE #BE2BB1
triadic
#812BBE #BE812B #2BBE81
tetradic
#812BBE #BE372B #68BE2B #2BB1BE
square
#812BBE #BE372B #68BE2B #2BB1BE
split-complementary
#812BBE #B1BE2B #2BBE37
monochromatic
#3D145A #5F208C #812BBE #9F4FD7 #BA81E2

Accessibility & contrast

On white

6.95
#812BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#812BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812BBE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812BBE#FFFFFF#000000##FFFFFF
##812BBE1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#765174
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #812bbe;
/* rgb */ color: rgb(129, 43, 190);
/* oklch */ color: oklch(49.3% 0.215 306.4);
Tailwind
colors: {
  custom: {
    50: '#ab6ed3',
    500: '#812bbe',
    950: '#000000',
  },
}
SCSS
$custom: #812bbe;
$custom-light: #ab6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#812bbe",
  "rgb": {
    "r": 129,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 275.102,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.21481,
    "h": 306.4
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#812BBE
secondary
#9BCB7A
accent
#E64286
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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