#815AC8#815AC8

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

Color values

HEX#815AC8
RGBrgb(129, 90, 200)
HSLhsl(261, 50%, 57%)
HSVhsv(261, 55%, 78%)
CMYKcmyk(35.5%, 55%, 0%, 21.6%)
CIE-LABlab(47.17, 39.89, -51.83)
CIE-LCHlch(47.17, 65.40, 307.58°)
OKLaboklab(56.12% 0.0753 -0.1468)
OKLCHoklch(56.12% 0.165 297.1)
XYZxyz(23.1321, 16.1493, 56.5308)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AC8 #A1C85A
analogous
#5A6AC8 #815AC8 #B85AC8
triadic
#815AC8 #C8815A #5AC881
tetradic
#815AC8 #C85A6A #A1C85A #5AC8B8
square
#815AC8 #C85A6A #A1C85A #5AC8B8
split-complementary
#815AC8 #C8B85A #6AC85A
monochromatic
#482A7E #6239AC #815AC8 #A488D7 #C7B6E7

Accessibility & contrast

On white

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

On black

4.23
#815AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##815AC8#FFFFFF#000000##FFFFFF
##815AC81.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CC
Deuteranopia (green-blind)
#366FC5
Tritanopia (blue-blind)
#717088
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815ac8;
/* rgb */ color: rgb(129, 90, 200);
/* oklch */ color: oklch(56.1% 0.165 297.1);
Tailwind
colors: {
  custom: {
    50: '#a98ad9',
    500: '#815ac8',
    950: '#000000',
  },
}
SCSS
$custom: #815ac8;
$custom-light: #a98ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#815ac8",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 261.273,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.165,
    "h": 297.1
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#815AC8
secondary
#C5D5A8
accent
#DA4EA8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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