#812FB6#812FB6

#812FB6 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.203 H 308.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#812FB6
RGBrgb(129, 47, 182)
HSLhsl(276, 59%, 45%)
HSVhsv(276, 74%, 71%)
CMYKcmyk(29.1%, 74.2%, 0%, 28.6%)
CIE-LABlab(37.98, 57.15, -56.14)
CIE-LCHlch(37.98, 80.11, 315.51°)
OKLaboklab(49.09% 0.1256 -0.1593)
OKLCHoklch(49.09% 0.203 308.2)
XYZxyz(18.5115, 10.0779, 45.2169)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FB6 #64B62F
analogous
#3D2FB6 #812FB6 #B62FA8
triadic
#812FB6 #B6812F #2FB681
tetradic
#812FB6 #B63D2F #64B62F #2FA8B6
square
#812FB6 #B63D2F #64B62F #2FA8B6
split-complementary
#812FB6 #A8B62F #2FB63D
monochromatic
#3C1655 #5F2285 #812FB6 #9F50D2 #BA81DE

Accessibility & contrast

On white

6.96
#812FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#812FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812FB6
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FB6#FFFFFF#000000##FFFFFF
##812FB61.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#794F70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #812fb6;
/* rgb */ color: rgb(129, 47, 182);
/* oklch */ color: oklch(49.1% 0.203 308.2);
Tailwind
colors: {
  custom: {
    50: '#aa70cd',
    500: '#812fb6',
    950: '#000000',
  },
}
SCSS
$custom: #812fb6;
$custom-light: #aa70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#812fb6",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 276.444,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.20289,
    "h": 308.2
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#812FB6
secondary
#98C779
accent
#E24683
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #812FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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