#815AAA#815AAA

#815AAA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.3% C 0.127 H 305.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#815AAA
RGBrgb(129, 90, 170)
HSLhsl(269, 32%, 51%)
HSVhsv(269, 47%, 67%)
CMYKcmyk(24.1%, 47.1%, 0%, 33.3%)
CIE-LABlab(45.47, 32.25, -37.07)
CIE-LCHlch(45.47, 49.13, 311.02°)
OKLaboklab(54.31% 0.0727 -0.1036)
OKLCHoklch(54.31% 0.127 305.1)
XYZxyz(19.9636, 14.8818, 39.8432)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AAA #83AA5A
analogous
#5A5BAA #815AAA #A95AAA
triadic
#815AAA #AA815A #5AAA81
tetradic
#815AAA #AA5A5B #83AA5A #5AAAA9
square
#815AAA #AA5A5B #83AA5A #5AAAA9
split-complementary
#815AAA #AAA95A #5BAA5A
monochromatic
#442F5B #634483 #815AAA #A082BF #BFABD4

Accessibility & contrast

On white

5.28
#815AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#815AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815AAA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AAA#FFFFFF#000000##FFFFFF
##815AAA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456AAD
Deuteranopia (green-blind)
#4E6CA8
Tritanopia (blue-blind)
#7A687A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #815aaa;
/* rgb */ color: rgb(129, 90, 170);
/* oklch */ color: oklch(54.3% 0.127 305.1);
Tailwind
colors: {
  custom: {
    50: '#a789c3',
    500: '#815aaa',
    950: '#000000',
  },
}
SCSS
$custom: #815aaa;
$custom-light: #a789c3;
$custom-dark: #000000;
JSON
{
  "hex": "#815aaa",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 269.25,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.12663,
    "h": 305.1
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

primary
#815AAA
secondary
#B0C29E
accent
#C86095
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #815AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#815AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva