#812CC1#812CC1

#812CC1 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.7% C 0.217 H 305.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#812CC1
RGBrgb(129, 44, 193)
HSLhsl(274, 63%, 46%)
HSVhsv(274, 77%, 76%)
CMYKcmyk(33.2%, 77.2%, 0%, 24.3%)
CIE-LABlab(38.41, 60.76, -61.92)
CIE-LCHlch(38.41, 86.76, 314.46°)
OKLaboklab(49.66% 0.126 -0.1763)
OKLCHoklch(49.66% 0.217 305.5)
XYZxyz(19.5774, 10.3189, 51.4021)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812CC1 #6CC12C
analogous
#372CC1 #812CC1 #C12CB7
triadic
#812CC1 #C1812C #2CC181
tetradic
#812CC1 #C1372C #6CC12C #2CB7C1
square
#812CC1 #C1372C #6CC12C #2CB7C1
split-complementary
#812CC1 #B7C12C #2CC137
monochromatic
#3E155D #60218F #812CC1 #9E53D8 #BA84E3

Accessibility & contrast

On white

6.85
#812CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#812CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812CC1
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812CC1#FFFFFF#000000##FFFFFF
##812CC11.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#755276
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #812cc1;
/* rgb */ color: rgb(129, 44, 193);
/* oklch */ color: oklch(49.7% 0.217 305.5);
Tailwind
colors: {
  custom: {
    50: '#ab6fd5',
    500: '#812cc1',
    950: '#000000',
  },
}
SCSS
$custom: #812cc1;
$custom-light: #ab6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#812cc1",
  "rgb": {
    "r": 129,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 274.228,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.21668,
    "h": 305.5
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #812CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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