#815ABA#815ABA

#815ABA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.2% C 0.147 H 300.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#815ABA
RGBrgb(129, 90, 186)
HSLhsl(264, 41%, 54%)
HSVhsv(264, 52%, 73%)
CMYKcmyk(30.6%, 51.6%, 0%, 27.1%)
CIE-LABlab(46.34, 36.26, -45.05)
CIE-LCHlch(46.34, 57.83, 308.83°)
OKLaboklab(55.25% 0.0745 -0.1269)
OKLCHoklch(55.25% 0.147 300.4)
XYZxyz(21.5703, 15.5245, 48.3050)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815ABA #93BA5A
analogous
#5A63BA #815ABA #B15ABA
triadic
#815ABA #BA815A #5ABA81
tetradic
#815ABA #BA5A63 #93BA5A #5ABAB1
square
#815ABA #BA5A63 #93BA5A #5ABAB1
split-complementary
#815ABA #BAB15A #63BA5A
monochromatic
#472D6C #633F97 #815ABA #A285CC #C3B0DE

Accessibility & contrast

On white

5.12
#815ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#815ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815ABA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815ABA#FFFFFF#000000##FFFFFF
##815ABA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396DBD
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#766C81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815aba;
/* rgb */ color: rgb(129, 90, 186);
/* oklch */ color: oklch(55.2% 0.147 300.4);
Tailwind
colors: {
  custom: {
    50: '#a88acf',
    500: '#815aba',
    950: '#000000',
  },
}
SCSS
$custom: #815aba;
$custom-light: #a88acf;
$custom-dark: #000000;
JSON
{
  "hex": "#815aba",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 264.375,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.14719,
    "h": 300.4
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#815ABA
secondary
#BCCCA3
accent
#D1579F
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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