#816ABA#816ABA

#816ABA is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.1% C 0.121 H 295.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#816ABA
RGBrgb(129, 106, 186)
HSLhsl(257, 37%, 57%)
HSVhsv(257, 43%, 73%)
CMYKcmyk(30.6%, 43%, 0%, 27.1%)
CIE-LABlab(50.12, 26.88, -39.06)
CIE-LCHlch(50.12, 47.41, 304.54°)
OKLaboklab(58.08% 0.0525 -0.1095)
OKLCHoklch(58.08% 0.121 295.6)
XYZxyz(23.0680, 18.5200, 48.8042)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816ABA #A3BA6A
analogous
#6A7BBA #816ABA #A96ABA
triadic
#816ABA #BA816A #6ABA81
tetradic
#816ABA #BA6A7B #A3BA6A #6ABAA9
square
#816ABA #BA6A7B #A3BA6A #6ABAA9
split-complementary
#816ABA #BAA96A #7BBA6A
monochromatic
#483674 #61499E #816ABA #A494CD #C8BEE1

Accessibility & contrast

On white

4.46
#816ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#816ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816ABA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816ABA#FFFFFF#000000##000000
##816ABA1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#757889
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #816aba;
/* rgb */ color: rgb(129, 106, 186);
/* oklch */ color: oklch(58.1% 0.121 295.6);
Tailwind
colors: {
  custom: {
    50: '#a895cf',
    500: '#816aba',
    950: '#000000',
  },
}
SCSS
$custom: #816aba;
$custom-light: #a895cf;
$custom-dark: #000000;
JSON
{
  "hex": "#816aba",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 257.25,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.12142,
    "h": 295.6
  },
  "luminance": 0.1852
}

Semantic roles & 50–950 ramp

primary
#816ABA
secondary
#C7D0B0
accent
#CD5BAC
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #816ABA

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

Preview Lab → · Contrast checker → · Palette generator →

#816ABA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva