#812BCE#812BCE

#812BCE is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.6% C 0.230 H 302.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#812BCE
RGBrgb(129, 43, 206)
HSLhsl(272, 65%, 49%)
HSVhsv(272, 79%, 81%)
CMYKcmyk(37.4%, 79.1%, 0%, 19.2%)
CIE-LABlab(39.33, 64.05, -67.99)
CIE-LCHlch(39.33, 93.41, 313.29°)
OKLaboklab(50.62% 0.1234 -0.1941)
OKLCHoklch(50.62% 0.23 302.4)
XYZxyz(21.0550, 10.8511, 59.3658)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812BCE #78CE2B
analogous
#2F2BCE #812BCE #CE2BCA
triadic
#812BCE #CE812B #2BCE81
tetradic
#812BCE #CE2F2B #78CE2B #2BCACE
square
#812BCE #CE2F2B #78CE2B #2BCACE
split-complementary
#812BCE #CACE2B #2BCE2F
monochromatic
#421669 #61209B #812BCE #9F5ADC #BC8CE7

Accessibility & contrast

On white

6.62
#812BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#812BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812BCE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812BCE#FFFFFF#000000##FFFFFF
##812BCE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#70577D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #812bce;
/* rgb */ color: rgb(129, 43, 206);
/* oklch */ color: oklch(50.6% 0.230 302.4);
Tailwind
colors: {
  custom: {
    50: '#ad6fde',
    500: '#812bce',
    950: '#000000',
  },
}
SCSS
$custom: #812bce;
$custom-light: #ad6fde;
$custom-dark: #000000;
JSON
{
  "hex": "#812bce",
  "rgb": {
    "r": 129,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 271.656,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.23004,
    "h": 302.4
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#812BCE
secondary
#A8D184
accent
#E83F8F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #812BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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