#812ABF#812ABF

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

Color values

HEX#812ABF
RGBrgb(129, 42, 191)
HSLhsl(275, 64%, 46%)
HSVhsv(275, 78%, 75%)
CMYKcmyk(32.5%, 78%, 0%, 25.1%)
CIE-LABlab(37.99, 61.06, -61.42)
CIE-LCHlch(37.99, 86.61, 314.83°)
OKLaboklab(49.32% 0.1281 -0.1748)
OKLCHoklch(49.32% 0.217 306.2)
XYZxyz(19.2831, 10.0848, 50.2108)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812ABF #68BF2A
analogous
#372ABF #812ABF #BF2AB2
triadic
#812ABF #BF812A #2ABF81
tetradic
#812ABF #BF372A #68BF2A #2AB2BF
square
#812ABF #BF372A #68BF2A #2AB2BF
split-complementary
#812ABF #B2BF2A #2ABF37
monochromatic
#3D145B #5F1F8D #812ABF #9F4ED8 #BA80E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##812ABF#FFFFFF#000000##FFFFFF
##812ABF1.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)
#0057C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#765074
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #812abf;
/* rgb */ color: rgb(129, 42, 191);
/* oklch */ color: oklch(49.3% 0.217 306.2);
Tailwind
colors: {
  custom: {
    50: '#ab6ed3',
    500: '#812abf',
    950: '#000000',
  },
}
SCSS
$custom: #812abf;
$custom-light: #ab6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#812abf",
  "rgb": {
    "r": 129,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 275.034,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49317,
    "c": 0.21673,
    "h": 306.2
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#812ABF
secondary
#9BCC79
accent
#E74186
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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