#815BB5#815BB5

#815BB5 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.139 H 301.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#815BB5
RGBrgb(129, 91, 181)
HSLhsl(265, 38%, 53%)
HSVhsv(265, 50%, 71%)
CMYKcmyk(28.7%, 49.7%, 0%, 29%)
CIE-LABlab(46.29, 34.41, -42.22)
CIE-LCHlch(46.29, 54.46, 309.18°)
OKLaboklab(55.12% 0.0727 -0.1187)
OKLCHoklch(55.12% 0.139 301.5)
XYZxyz(21.1329, 15.4854, 45.5827)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BB5 #8FB55B
analogous
#5B62B5 #815BB5 #AE5BB5
triadic
#815BB5 #B5815B #5BB581
tetradic
#815BB5 #B55B62 #8FB55B #5BB5AE
square
#815BB5 #B55B62 #8FB55B #5BB5AE
split-complementary
#815BB5 #B5AE5B #62B55B
monochromatic
#462F67 #634291 #815BB5 #A185C8 #C2AFDB

Accessibility & contrast

On white

5.13
#815BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #815BB5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BB5#FFFFFF#000000##FFFFFF
##815BB51.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB8
Deuteranopia (green-blind)
#486DB3
Tritanopia (blue-blind)
#776B7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815bb5;
/* rgb */ color: rgb(129, 91, 181);
/* oklch */ color: oklch(55.1% 0.139 301.5);
Tailwind
colors: {
  custom: {
    50: '#a88acb',
    500: '#815bb5',
    950: '#000000',
  },
}
SCSS
$custom: #815bb5;
$custom-light: #a88acb;
$custom-dark: #000000;
JSON
{
  "hex": "#815bb5",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 265.333,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55117,
    "c": 0.13915,
    "h": 301.5
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#815BB5
secondary
#B9C9A3
accent
#CE5A9D
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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