#812CC0#812CC0

#812CC0 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.216 H 305.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#812CC0
RGBrgb(129, 44, 192)
HSLhsl(274, 63%, 46%)
HSVhsv(274, 77%, 75%)
CMYKcmyk(32.8%, 77.1%, 0%, 24.7%)
CIE-LABlab(38.33, 60.54, -61.46)
CIE-LCHlch(38.33, 86.27, 314.57°)
OKLaboklab(49.58% 0.1262 -0.1749)
OKLCHoklch(49.58% 0.216 305.8)
XYZxyz(19.4663, 10.2744, 50.8166)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812CC0 #6BC02C
analogous
#372CC0 #812CC0 #C02CB5
triadic
#812CC0 #C0812C #2CC081
tetradic
#812CC0 #C0372C #6BC02C #2CB5C0
square
#812CC0 #C0372C #6BC02C #2CB5C0
split-complementary
#812CC0 #B5C02C #2CC037
monochromatic
#3E155C #60218E #812CC0 #9F52D7 #BA84E3

Accessibility & contrast

On white

6.87
#812CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#812CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812CC0
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812CC0#FFFFFF#000000##FFFFFF
##812CC01.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812cc0;
/* rgb */ color: rgb(129, 44, 192);
/* oklch */ color: oklch(49.6% 0.216 305.8);
Tailwind
colors: {
  custom: {
    50: '#ab6fd4',
    500: '#812cc0',
    950: '#000000',
  },
}
SCSS
$custom: #812cc0;
$custom-light: #ab6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#812cc0",
  "rgb": {
    "r": 129,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 274.459,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49577,
    "c": 0.21572,
    "h": 305.8
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#812CC0
secondary
#9ECC7C
accent
#E64288
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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