#815BBF#815BBF

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

Color values

HEX#815BBF
RGBrgb(129, 91, 191)
HSLhsl(263, 44%, 55%)
HSVhsv(263, 52%, 75%)
CMYKcmyk(32.5%, 52.4%, 0%, 25.1%)
CIE-LABlab(46.86, 36.97, -47.13)
CIE-LCHlch(46.86, 59.90, 308.11°)
OKLaboklab(55.72% 0.0735 -0.133)
OKLCHoklch(55.72% 0.152 298.9)
XYZxyz(22.1960, 15.9107, 51.1818)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BBF #99BF5B
analogous
#5B67BF #815BBF #B35BBF
triadic
#815BBF #BF815B #5BBF81
tetradic
#815BBF #BF5B67 #99BF5B #5BBFB3
square
#815BBF #BF5B67 #99BF5B #5BBFB3
split-complementary
#815BBF #BFB35B #67BF5B
monochromatic
#472D73 #633E9F #815BBF #A387D0 #C5B3E1

Accessibility & contrast

On white

5.02
#815BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#815BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BBF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BBF#FFFFFF#000000##FFFFFF
##815BBF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#406EBD
Tritanopia (blue-blind)
#746E84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #815bbf;
/* rgb */ color: rgb(129, 91, 191);
/* oklch */ color: oklch(55.7% 0.152 298.9);
Tailwind
colors: {
  custom: {
    50: '#a98ad3',
    500: '#815bbf',
    950: '#000000',
  },
}
SCSS
$custom: #815bbf;
$custom-light: #a98ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#815bbf",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 262.8,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55721,
    "c": 0.15201,
    "h": 298.9
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#815BBF
secondary
#C0D0A6
accent
#D454A3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #815BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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