#812EC0#812EC0

#812EC0 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.214 H 305.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#812EC0
RGBrgb(129, 46, 192)
HSLhsl(274, 61%, 47%)
HSVhsv(274, 76%, 75%)
CMYKcmyk(32.8%, 76%, 0%, 24.7%)
CIE-LABlab(38.60, 59.77, -61.03)
CIE-LCHlch(38.60, 85.42, 314.41°)
OKLaboklab(49.77% 0.1245 -0.1737)
OKLCHoklch(49.77% 0.214 305.6)
XYZxyz(19.5426, 10.4270, 50.8420)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812EC0 #6DC02E
analogous
#382EC0 #812EC0 #C02EB6
triadic
#812EC0 #C0812E #2EC081
tetradic
#812EC0 #C0382E #6DC02E #2EB6C0
square
#812EC0 #C0382E #6DC02E #2EB6C0
split-complementary
#812EC0 #B6C02E #2EC038
monochromatic
#3F165D #60228F #812EC0 #9E55D6 #BA86E2

Accessibility & contrast

On white

6.81
#812EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#812EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812EC0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812EC0#FFFFFF#000000##FFFFFF
##812EC01.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#755376
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #812ec0;
/* rgb */ color: rgb(129, 46, 192);
/* oklch */ color: oklch(49.8% 0.214 305.6);
Tailwind
colors: {
  custom: {
    50: '#ab70d4',
    500: '#812ec0',
    950: '#000000',
  },
}
SCSS
$custom: #812ec0;
$custom-light: #ab70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#812ec0",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 274.11,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.2137,
    "h": 305.6
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#812EC0
secondary
#A0CC7E
accent
#E44389
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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