#814BB2#814BB2

#814BB2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.161 H 305.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#814BB2
RGBrgb(129, 75, 178)
HSLhsl(271, 41%, 50%)
HSVhsv(271, 58%, 70%)
CMYKcmyk(27.5%, 57.9%, 0%, 30.2%)
CIE-LABlab(42.63, 42.69, -46.29)
CIE-LCHlch(42.63, 62.97, 312.68°)
OKLaboklab(52.36% 0.094 -0.1305)
OKLCHoklch(52.36% 0.161 305.8)
XYZxyz(19.6035, 12.9138, 43.5707)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814BB2 #7CB24B
analogous
#4E4BB2 #814BB2 #B24BB0
triadic
#814BB2 #B2814B #4BB281
tetradic
#814BB2 #B24E4B #7CB24B #4BB0B2
square
#814BB2 #B24E4B #7CB24B #4BB0B2
split-complementary
#814BB2 #B0B24B #4BB24E
monochromatic
#43275C #623987 #814BB2 #9F75C5 #BDA0D7

Accessibility & contrast

On white

5.86
#814BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#814BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814BB2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814BB2#FFFFFF#000000##FFFFFF
##814BB21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#795F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #814bb2;
/* rgb */ color: rgb(129, 75, 178);
/* oklch */ color: oklch(52.4% 0.161 305.8);
Tailwind
colors: {
  custom: {
    50: '#a980c9',
    500: '#814bb2',
    950: '#000000',
  },
}
SCSS
$custom: #814bb2;
$custom-light: #a980c9;
$custom-dark: #000000;
JSON
{
  "hex": "#814bb2",
  "rgb": {
    "r": 129,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 271.456,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.16087,
    "h": 305.8
  },
  "luminance": 0.12914
}

Semantic roles & 50–950 ramp

primary
#814BB2
secondary
#ABC495
accent
#D15791
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #814BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#814BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva