#815BBD#815BBD

#815BBD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.149 H 299.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#815BBD
RGBrgb(129, 91, 189)
HSLhsl(263, 43%, 55%)
HSVhsv(263, 52%, 74%)
CMYKcmyk(31.7%, 51.9%, 0%, 25.9%)
CIE-LABlab(46.74, 36.45, -46.16)
CIE-LCHlch(46.74, 58.81, 308.30°)
OKLaboklab(55.6% 0.0734 -0.1302)
OKLCHoklch(55.6% 0.149 299.4)
XYZxyz(21.9775, 15.8232, 50.0306)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BBD #97BD5B
analogous
#5B66BD #815BBD #B25BBD
triadic
#815BBD #BD815B #5BBD81
tetradic
#815BBD #BD5B66 #97BD5B #5BBDB2
square
#815BBD #BD5B66 #97BD5B #5BBDB2
split-complementary
#815BBD #BDB25B #66BD5B
monochromatic
#472D70 #633F9C #815BBD #A387CF #C4B2E0

Accessibility & contrast

On white

5.04
#815BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#815BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BBD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BBD#FFFFFF#000000##FFFFFF
##815BBD1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#426EBB
Tritanopia (blue-blind)
#756E83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #815bbd;
/* rgb */ color: rgb(129, 91, 189);
/* oklch */ color: oklch(55.6% 0.149 299.4);
Tailwind
colors: {
  custom: {
    50: '#a88ad1',
    500: '#815bbd',
    950: '#000000',
  },
}
SCSS
$custom: #815bbd;
$custom-light: #a88ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#815bbd",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 263.265,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.14946,
    "h": 299.4
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#815BBD
secondary
#BFCFA5
accent
#D255A2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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