#815BD3#815BD3

#815BD3 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.177 H 294.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#815BD3
RGBrgb(129, 91, 211)
HSLhsl(259, 58%, 59%)
HSVhsv(259, 57%, 83%)
CMYKcmyk(38.9%, 56.9%, 0%, 17.3%)
CIE-LABlab(48.07, 42.25, -56.69)
CIE-LCHlch(48.07, 70.70, 306.69°)
OKLaboklab(57.01% 0.0742 -0.1611)
OKLCHoklch(57.01% 0.177 294.7)
XYZxyz(24.5491, 16.8519, 63.5747)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BD3 #ADD35B
analogous
#5B71D3 #815BD3 #BD5BD3
triadic
#815BD3 #D3815B #5BD381
tetradic
#815BD3 #D35B71 #ADD35B #5BD3BD
square
#815BD3 #D35B71 #ADD35B #5BD3BD
split-complementary
#815BD3 #D3BD5B #71D35B
monochromatic
#47268E #5F33BE #815BD3 #A68BE0 #CBBCED

Accessibility & contrast

On white

4.81
#815BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#815BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BD3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BD3#FFFFFF#000000##FFFFFF
##815BD31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A73D7
Deuteranopia (green-blind)
#2970D0
Tritanopia (blue-blind)
#6C758E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815bd3;
/* rgb */ color: rgb(129, 91, 211);
/* oklch */ color: oklch(57.0% 0.177 294.7);
Tailwind
colors: {
  custom: {
    50: '#aa8be1',
    500: '#815bd3',
    950: '#000000',
  },
}
SCSS
$custom: #815bd3;
$custom-light: #aa8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#815bd3",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 259,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5701,
    "c": 0.17737,
    "h": 294.7
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#815BD3
secondary
#CEDCAD
accent
#E147B0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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