#815BBE#815BBE

#815BBE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.151 H 299.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#815BBE
RGBrgb(129, 91, 190)
HSLhsl(263, 43%, 55%)
HSVhsv(263, 52%, 75%)
CMYKcmyk(32.1%, 52.1%, 0%, 25.5%)
CIE-LABlab(46.80, 36.71, -46.64)
CIE-LCHlch(46.80, 59.36, 308.20°)
OKLaboklab(55.66% 0.0735 -0.1316)
OKLCHoklch(55.66% 0.151 299.2)
XYZxyz(22.0864, 15.8668, 50.6042)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BBE #98BE5B
analogous
#5B67BE #815BBE #B25BBE
triadic
#815BBE #BE815B #5BBE81
tetradic
#815BBE #BE5B67 #98BE5B #5BBEB2
square
#815BBE #BE5B67 #98BE5B #5BBEB2
split-complementary
#815BBE #BEB25B #67BE5B
monochromatic
#472D72 #633E9D #815BBE #A387CF #C4B3E1

Accessibility & contrast

On white

5.03
#815BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#815BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BBE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BBE#FFFFFF#000000##FFFFFF
##815BBE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#746E84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #815bbe;
/* rgb */ color: rgb(129, 91, 190);
/* oklch */ color: oklch(55.7% 0.151 299.2);
Tailwind
colors: {
  custom: {
    50: '#a98ad2',
    500: '#815bbe',
    950: '#000000',
  },
}
SCSS
$custom: #815bbe;
$custom-light: #a98ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#815bbe",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 263.03,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55659,
    "c": 0.15074,
    "h": 299.2
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#815BBE
secondary
#BFCFA6
accent
#D355A3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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