#812FBE#812FBE

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

Color values

HEX#812FBE
RGBrgb(129, 47, 190)
HSLhsl(274, 60%, 46%)
HSVhsv(274, 75%, 75%)
CMYKcmyk(32.1%, 75.3%, 0%, 25.5%)
CIE-LABlab(38.58, 58.93, -59.88)
CIE-LCHlch(38.58, 84.01, 314.54°)
OKLaboklab(49.71% 0.124 -0.1703)
OKLCHoklch(49.71% 0.211 306.1)
XYZxyz(19.3620, 10.4180, 49.6961)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FBE #6CBE2F
analogous
#3A2FBE #812FBE #BE2FB4
triadic
#812FBE #BE812F #2FBE81
tetradic
#812FBE #BE3A2F #6CBE2F #2FB4BE
square
#812FBE #BE3A2F #6CBE2F #2FB4BE
split-complementary
#812FBE #B4BE2F #2FBE3A
monochromatic
#3E175C #60238D #812FBE #9E55D5 #BA86E1

Accessibility & contrast

On white

6.81
#812FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #812FBE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FBE#FFFFFF#000000##FFFFFF
##812FBE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812fbe;
/* rgb */ color: rgb(129, 47, 190);
/* oklch */ color: oklch(49.7% 0.211 306.1);
Tailwind
colors: {
  custom: {
    50: '#ab70d3',
    500: '#812fbe',
    950: '#000000',
  },
}
SCSS
$custom: #812fbe;
$custom-light: #ab70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#812fbe",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 274.406,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49706,
    "c": 0.21069,
    "h": 306.1
  },
  "luminance": 0.10418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #812FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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