#812EBC#812EBC

#812EBC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.210 H 306.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#812EBC
RGBrgb(129, 46, 188)
HSLhsl(275, 61%, 46%)
HSVhsv(275, 76%, 74%)
CMYKcmyk(31.4%, 75.5%, 0%, 26.3%)
CIE-LABlab(38.29, 58.88, -59.18)
CIE-LCHlch(38.29, 83.48, 314.86°)
OKLaboklab(49.45% 0.1254 -0.1682)
OKLCHoklch(49.45% 0.21 306.7)
XYZxyz(19.1054, 10.2522, 48.5396)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812EBC #69BC2E
analogous
#3A2EBC #812EBC #BC2EB0
triadic
#812EBC #BC812E #2EBC81
tetradic
#812EBC #BC3A2E #69BC2E #2EB0BC
square
#812EBC #BC3A2E #69BC2E #2EB0BC
split-complementary
#812EBC #B0BC2E #2EBC3A
monochromatic
#3E165A #5F228B #812EBC #9F52D5 #BA84E1

Accessibility & contrast

On white

6.88
#812EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #812EBC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812EBC#FFFFFF#000000##FFFFFF
##812EBC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#775173
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #812ebc;
/* rgb */ color: rgb(129, 46, 188);
/* oklch */ color: oklch(49.5% 0.210 306.7);
Tailwind
colors: {
  custom: {
    50: '#ab6fd1',
    500: '#812ebc',
    950: '#000000',
  },
}
SCSS
$custom: #812ebc;
$custom-light: #ab6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#812ebc",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 275.07,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49453,
    "c": 0.20981,
    "h": 306.7
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#812EBC
secondary
#9CCA7C
accent
#E44486
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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