#815EB4#815EB4

#815EB4 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.6% C 0.133 H 301.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#815EB4
RGBrgb(129, 94, 180)
HSLhsl(264, 36%, 54%)
HSVhsv(264, 48%, 71%)
CMYKcmyk(28.3%, 47.8%, 0%, 29.4%)
CIE-LABlab(46.93, 32.41, -40.62)
CIE-LCHlch(46.93, 51.96, 308.59°)
OKLaboklab(55.58% 0.0684 -0.114)
OKLCHoklch(55.58% 0.133 301)
XYZxyz(21.2923, 15.9677, 45.1315)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EB4 #91B45E
analogous
#5E66B4 #815EB4 #AC5EB4
triadic
#815EB4 #B4815E #5EB481
tetradic
#815EB4 #B45E66 #91B45E #5EB4AC
square
#815EB4 #B45E66 #91B45E #5EB4AC
split-complementary
#815EB4 #B4AC5E #66B45E
monochromatic
#473067 #634491 #815EB4 #A288C7 #C2B1DB

Accessibility & contrast

On white

5.01
#815EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#815EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815EB4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EB4#FFFFFF#000000##FFFFFF
##815EB41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446FB7
Deuteranopia (green-blind)
#4C6FB2
Tritanopia (blue-blind)
#776D80
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #815eb4;
/* rgb */ color: rgb(129, 94, 180);
/* oklch */ color: oklch(55.6% 0.133 301.0);
Tailwind
colors: {
  custom: {
    50: '#a88ccb',
    500: '#815eb4',
    950: '#000000',
  },
}
SCSS
$custom: #815eb4;
$custom-light: #a88ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#815eb4",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 264.419,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55578,
    "c": 0.13295,
    "h": 301
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#815EB4
secondary
#BAC9A5
accent
#CC5B9E
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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