#815BBB#815BBB

#815BBB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.147 H 299.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#815BBB
RGBrgb(129, 91, 187)
HSLhsl(264, 41%, 55%)
HSVhsv(264, 51%, 73%)
CMYKcmyk(31%, 51.3%, 0%, 26.7%)
CIE-LABlab(46.63, 35.94, -45.18)
CIE-LCHlch(46.63, 57.73, 308.50°)
OKLaboklab(55.48% 0.0732 -0.1273)
OKLCHoklch(55.48% 0.147 299.9)
XYZxyz(21.7619, 15.7370, 48.8951)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BBB #95BB5B
analogous
#5B65BB #815BBB #B15BBB
triadic
#815BBB #BB815B #5BBB81
tetradic
#815BBB #BB5B65 #95BB5B #5BBBB1
square
#815BBB #BB5B65 #95BB5B #5BBBB1
split-complementary
#815BBB #BBB15B #65BB5B
monochromatic
#472E6E #634099 #815BBB #A286CD #C3B2DF

Accessibility & contrast

On white

5.06
#815BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#815BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BBB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BBB#FFFFFF#000000##FFFFFF
##815BBB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#756D82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815bbb;
/* rgb */ color: rgb(129, 91, 187);
/* oklch */ color: oklch(55.5% 0.147 299.9);
Tailwind
colors: {
  custom: {
    50: '#a88ad0',
    500: '#815bbb',
    950: '#000000',
  },
}
SCSS
$custom: #815bbb;
$custom-light: #a88ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#815bbb",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 263.75,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.14688,
    "h": 299.9
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#815BBB
secondary
#BDCDA5
accent
#D157A1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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