#815FB5#815FB5

#815FB5 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.8% C 0.133 H 300.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#815FB5
RGBrgb(129, 95, 181)
HSLhsl(264, 37%, 54%)
HSVhsv(264, 48%, 71%)
CMYKcmyk(28.7%, 47.5%, 0%, 29%)
CIE-LABlab(47.22, 32.08, -40.74)
CIE-LCHlch(47.22, 51.86, 308.21°)
OKLaboklab(55.81% 0.0671 -0.1144)
OKLCHoklch(55.81% 0.133 300.4)
XYZxyz(21.4840, 16.1876, 45.6998)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FB5 #93B55F
analogous
#5F68B5 #815FB5 #AC5FB5
triadic
#815FB5 #B5815F #5FB581
tetradic
#815FB5 #B55F68 #93B55F #5FB5AC
square
#815FB5 #B55F68 #93B55F #5FB5AC
split-complementary
#815FB5 #B5AC5F #68B55F
monochromatic
#473169 #634493 #815FB5 #A289C8 #C3B3DC

Accessibility & contrast

On white

4.96
#815FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#815FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FB5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FB5#FFFFFF#000000##FFFFFF
##815FB51.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4570B8
Deuteranopia (green-blind)
#4D6FB3
Tritanopia (blue-blind)
#776F81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815fb5;
/* rgb */ color: rgb(129, 95, 181);
/* oklch */ color: oklch(55.8% 0.133 300.4);
Tailwind
colors: {
  custom: {
    50: '#a88dcb',
    500: '#815fb5',
    950: '#000000',
  },
}
SCSS
$custom: #815fb5;
$custom-light: #a88dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#815fb5",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 263.721,
    "s": 36.752,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.13262,
    "h": 300.4
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#815FB5
secondary
#BCCAA6
accent
#CD5BA0
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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