#812ABD#812ABD

#812ABD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.215 H 306.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#812ABD
RGBrgb(129, 42, 189)
HSLhsl(276, 64%, 45%)
HSVhsv(276, 78%, 74%)
CMYKcmyk(31.7%, 77.8%, 0%, 25.9%)
CIE-LABlab(37.84, 60.62, -60.50)
CIE-LCHlch(37.84, 85.65, 315.06°)
OKLaboklab(49.16% 0.1286 -0.1721)
OKLCHoklch(49.16% 0.215 306.8)
XYZxyz(19.0645, 9.9974, 49.0596)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812ABD #66BD2A
analogous
#372ABD #812ABD #BD2AAF
triadic
#812ABD #BD812A #2ABD81
tetradic
#812ABD #BD372A #66BD2A #2AAFBD
square
#812ABD #BD372A #66BD2A #2AAFBD
split-complementary
#812ABD #AFBD2A #2ABD37
monochromatic
#3D1459 #5F1F8B #812ABD #9F4DD7 #BA7FE3

Accessibility & contrast

On white

7.00
#812ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#812ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812ABD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812ABD#FFFFFF#000000##FFFFFF
##812ABD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#775073
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #812abd;
/* rgb */ color: rgb(129, 42, 189);
/* oklch */ color: oklch(49.2% 0.215 306.8);
Tailwind
colors: {
  custom: {
    50: '#ab6ed2',
    500: '#812abd',
    950: '#000000',
  },
}
SCSS
$custom: #812abd;
$custom-light: #ab6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#812abd",
  "rgb": {
    "r": 129,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 275.51,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.21484,
    "h": 306.8
  },
  "luminance": 0.09997
}

Semantic roles & 50–950 ramp

primary
#812ABD
secondary
#9ACB78
accent
#E74185
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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