#815BB3#815BB3

#815BB3 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.137 H 302.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#815BB3
RGBrgb(129, 91, 179)
HSLhsl(266, 37%, 53%)
HSVhsv(266, 49%, 70%)
CMYKcmyk(27.9%, 49.2%, 0%, 29.8%)
CIE-LABlab(46.18, 33.90, -41.22)
CIE-LCHlch(46.18, 53.37, 309.44°)
OKLaboklab(55% 0.0725 -0.1158)
OKLCHoklch(55% 0.137 302)
XYZxyz(20.9292, 15.4039, 44.5097)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BB3 #8DB35B
analogous
#5B61B3 #815BB3 #AD5BB3
triadic
#815BB3 #B3815B #5BB381
tetradic
#815BB3 #B35B61 #8DB35B #5BB3AD
square
#815BB3 #B35B61 #8DB35B #5BB3AD
split-complementary
#815BB3 #B3AD5B #61B35B
monochromatic
#462F65 #63428F #815BB3 #A185C6 #C1AFDA

Accessibility & contrast

On white

5.15
#815BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#815BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BB3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BB3#FFFFFF#000000##FFFFFF
##815BB31.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB6
Deuteranopia (green-blind)
#4A6DB1
Tritanopia (blue-blind)
#786B7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #815bb3;
/* rgb */ color: rgb(129, 91, 179);
/* oklch */ color: oklch(55.0% 0.137 302.0);
Tailwind
colors: {
  custom: {
    50: '#a88aca',
    500: '#815bb3',
    950: '#000000',
  },
}
SCSS
$custom: #815bb3;
$custom-light: #a88aca;
$custom-dark: #000000;
JSON
{
  "hex": "#815bb3",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 265.909,
    "s": 36.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55,
    "c": 0.13657,
    "h": 302
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#815BB3
secondary
#B7C8A2
accent
#CD5B9C
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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