#812EBF#812EBF

#812EBF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.213 H 305.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#812EBF
RGBrgb(129, 46, 191)
HSLhsl(274, 61%, 46%)
HSVhsv(274, 76%, 75%)
CMYKcmyk(32.5%, 75.9%, 0%, 25.1%)
CIE-LABlab(38.52, 59.55, -60.57)
CIE-LCHlch(38.52, 84.94, 314.51°)
OKLaboklab(49.69% 0.1247 -0.1723)
OKLCHoklch(49.69% 0.213 305.9)
XYZxyz(19.4321, 10.3829, 50.2605)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812EBF #6CBF2E
analogous
#392EBF #812EBF #BF2EB5
triadic
#812EBF #BF812E #2EBF81
tetradic
#812EBF #BF392E #6CBF2E #2EB5BF
square
#812EBF #BF392E #6CBF2E #2EB5BF
split-complementary
#812EBF #B5BF2E #2EBF39
monochromatic
#3E165C #60228E #812EBF #9E54D6 #BA86E2

Accessibility & contrast

On white

6.83
#812EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#812EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812EBF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812EBF#FFFFFF#000000##FFFFFF
##812EBF1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#765275
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #812ebf;
/* rgb */ color: rgb(129, 46, 191);
/* oklch */ color: oklch(49.7% 0.213 305.9);
Tailwind
colors: {
  custom: {
    50: '#ab70d3',
    500: '#812ebf',
    950: '#000000',
  },
}
SCSS
$custom: #812ebf;
$custom-light: #ab70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#812ebf",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 274.345,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.21272,
    "h": 305.9
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#812EBF
secondary
#9FCB7E
accent
#E44488
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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