#815BD2#815BD2

#815BD2 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.176 H 294.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#815BD2
RGBrgb(129, 91, 210)
HSLhsl(259, 57%, 59%)
HSVhsv(259, 57%, 82%)
CMYKcmyk(38.6%, 56.7%, 0%, 17.6%)
CIE-LABlab(48.01, 41.98, -56.22)
CIE-LCHlch(48.01, 70.16, 306.75°)
OKLaboklab(56.94% 0.0742 -0.1597)
OKLCHoklch(56.94% 0.176 294.9)
XYZxyz(24.4242, 16.8019, 62.9165)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BD2 #ACD25B
analogous
#5B71D2 #815BD2 #BD5BD2
triadic
#815BD2 #D2815B #5BD281
tetradic
#815BD2 #D25B71 #ACD25B #5BD2BD
square
#815BD2 #D25B71 #ACD25B #5BD2BD
split-complementary
#815BD2 #D2BD5B #71D25B
monochromatic
#47268C #5F34BC #815BD2 #A68BDF #CBBBEC

Accessibility & contrast

On white

4.82
#815BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#815BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BD2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BD2#FFFFFF#000000##FFFFFF
##815BD21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C73D6
Deuteranopia (green-blind)
#2B70CF
Tritanopia (blue-blind)
#6D748E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815bd2;
/* rgb */ color: rgb(129, 91, 210);
/* oklch */ color: oklch(56.9% 0.176 294.9);
Tailwind
colors: {
  custom: {
    50: '#aa8be0',
    500: '#815bd2',
    950: '#000000',
  },
}
SCSS
$custom: #815bd2;
$custom-light: #aa8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#815bd2",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 259.16,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56943,
    "c": 0.17611,
    "h": 294.9
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#815BD2
secondary
#CDDCAD
accent
#E048AF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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