#812FBF#812FBF

#812FBF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.212 H 305.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#812FBF
RGBrgb(129, 47, 191)
HSLhsl(274, 61%, 47%)
HSVhsv(274, 75%, 75%)
CMYKcmyk(32.5%, 75.4%, 0%, 25.1%)
CIE-LABlab(38.66, 59.15, -60.34)
CIE-LCHlch(38.66, 84.50, 314.43°)
OKLaboklab(49.78% 0.1238 -0.1717)
OKLCHoklch(49.78% 0.212 305.8)
XYZxyz(19.4717, 10.4619, 50.2737)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FBF #6DBF2F
analogous
#392FBF #812FBF #BF2FB5
triadic
#812FBF #BF812F #2FBF81
tetradic
#812FBF #BF392F #6DBF2F #2FB5BF
square
#812FBF #BF392F #6DBF2F #2FB5BF
split-complementary
#812FBF #B5BF2F #2FBF39
monochromatic
#3F175D #60238E #812FBF #9E56D5 #BA87E1

Accessibility & contrast

On white

6.79
#812FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#812FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812FBF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FBF#FFFFFF#000000##FFFFFF
##812FBF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812fbf;
/* rgb */ color: rgb(129, 47, 191);
/* oklch */ color: oklch(49.8% 0.212 305.8);
Tailwind
colors: {
  custom: {
    50: '#ab70d3',
    500: '#812fbf',
    950: '#000000',
  },
}
SCSS
$custom: #812fbf;
$custom-light: #ab70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#812fbf",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 274.167,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49783,
    "c": 0.21167,
    "h": 305.8
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#812FBF
secondary
#A0CB7F
accent
#E44489
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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