#815BB0#815BB0

#815BB0 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.8% C 0.133 H 302.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#815BB0
RGBrgb(129, 91, 176)
HSLhsl(267, 35%, 52%)
HSVhsv(267, 48%, 69%)
CMYKcmyk(26.7%, 48.3%, 0%, 31%)
CIE-LABlab(46.02, 33.15, -39.72)
CIE-LCHlch(46.02, 51.74, 309.85°)
OKLaboklab(54.83% 0.0721 -0.1114)
OKLCHoklch(54.83% 0.133 302.9)
XYZxyz(20.6291, 15.2839, 42.9292)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BB0 #8AB05B
analogous
#5B5FB0 #815BB0 #AC5BB0
triadic
#815BB0 #B0815B #5BB081
tetradic
#815BB0 #B05B5F #8AB05B #5BB0AC
square
#815BB0 #B05B5F #8AB05B #5BB0AC
split-complementary
#815BB0 #B0AC5B #5FB05B
monochromatic
#462F62 #63438B #815BB0 #A184C4 #C0AED8

Accessibility & contrast

On white

5.18
#815BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#815BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BB0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BB0#FFFFFF#000000##FFFFFF
##815BB01.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB3
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#796A7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #815bb0;
/* rgb */ color: rgb(129, 91, 176);
/* oklch */ color: oklch(54.8% 0.133 302.9);
Tailwind
colors: {
  custom: {
    50: '#a88ac8',
    500: '#815bb0',
    950: '#000000',
  },
}
SCSS
$custom: #815bb0;
$custom-light: #a88ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#815bb0",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 266.824,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.13269,
    "h": 302.9
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#815BB0
secondary
#B5C6A1
accent
#CB5D9A
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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