#812CC9#812CC9

#812CC9 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.224 H 303.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#812CC9
RGBrgb(129, 44, 201)
HSLhsl(272, 64%, 48%)
HSVhsv(272, 78%, 79%)
CMYKcmyk(35.8%, 78.1%, 0%, 21.2%)
CIE-LABlab(39.05, 62.56, -65.55)
CIE-LCHlch(39.05, 90.61, 313.66°)
OKLaboklab(50.3% 0.124 -0.187)
OKLCHoklch(50.3% 0.224 303.5)
XYZxyz(20.4941, 10.6856, 56.2298)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812CC9 #74C92C
analogous
#322CC9 #812CC9 #C92CC2
triadic
#812CC9 #C9812C #2CC981
tetradic
#812CC9 #C9322C #74C92C #2CC2C9
square
#812CC9 #C9322C #74C92C #2CC2C9
split-complementary
#812CC9 #C2C92C #2CC932
monochromatic
#411665 #612197 #812CC9 #9F58DA #BB8AE5

Accessibility & contrast

On white

6.69
#812CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#812CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812CC9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812CC9#FFFFFF#000000##FFFFFF
##812CC91.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#72567A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #812cc9;
/* rgb */ color: rgb(129, 44, 201);
/* oklch */ color: oklch(50.3% 0.224 303.5);
Tailwind
colors: {
  custom: {
    50: '#ac6fda',
    500: '#812cc9',
    950: '#000000',
  },
}
SCSS
$custom: #812cc9;
$custom-light: #ac6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#812cc9",
  "rgb": {
    "r": 129,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 272.484,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.503,
    "c": 0.22434,
    "h": 303.5
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#812CC9
secondary
#A5CF82
accent
#E7418D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #812CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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