#812CBF#812CBF

#812CBF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.215 H 306.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#812CBF
RGBrgb(129, 44, 191)
HSLhsl(275, 63%, 46%)
HSVhsv(275, 77%, 75%)
CMYKcmyk(32.5%, 77%, 0%, 25.1%)
CIE-LABlab(38.25, 60.32, -61.00)
CIE-LCHlch(38.25, 85.79, 314.68°)
OKLaboklab(49.5% 0.1264 -0.1736)
OKLCHoklch(49.5% 0.215 306.1)
XYZxyz(19.3558, 10.2303, 50.2351)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812CBF #6ABF2C
analogous
#372CBF #812CBF #BF2CB3
triadic
#812CBF #BF812C #2CBF81
tetradic
#812CBF #BF372C #6ABF2C #2CB3BF
square
#812CBF #BF372C #6ABF2C #2CB3BF
split-complementary
#812CBF #B3BF2C #2CBF37
monochromatic
#3E155C #5F218D #812CBF #9F51D7 #BA83E2

Accessibility & contrast

On white

6.89
#812CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #812CBF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812CBF#FFFFFF#000000##FFFFFF
##812CBF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#765175
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #812cbf;
/* rgb */ color: rgb(129, 44, 191);
/* oklch */ color: oklch(49.5% 0.215 306.1);
Tailwind
colors: {
  custom: {
    50: '#ab6fd3',
    500: '#812cbf',
    950: '#000000',
  },
}
SCSS
$custom: #812cbf;
$custom-light: #ab6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#812cbf",
  "rgb": {
    "r": 129,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 274.694,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.21476,
    "h": 306.1
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#812CBF
secondary
#9DCC7B
accent
#E64287
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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