#815AC0#815AC0

#815AC0 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.155 H 298.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#815AC0
RGBrgb(129, 90, 192)
HSLhsl(263, 45%, 55%)
HSVhsv(263, 53%, 75%)
CMYKcmyk(32.8%, 53.1%, 0%, 24.7%)
CIE-LABlab(46.69, 37.80, -47.98)
CIE-LCHlch(46.69, 61.08, 308.24°)
OKLaboklab(55.62% 0.0749 -0.1355)
OKLCHoklch(55.62% 0.155 298.9)
XYZxyz(22.2216, 15.7850, 51.7350)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AC0 #99C05A
analogous
#5A66C0 #815AC0 #B45AC0
triadic
#815AC0 #C0815A #5AC081
tetradic
#815AC0 #C05A66 #99C05A #5AC0B4
square
#815AC0 #C05A66 #99C05A #5AC0B4
split-complementary
#815AC0 #C0B45A #66C05A
monochromatic
#472C73 #633DA0 #815AC0 #A386D1 #C5B3E2

Accessibility & contrast

On white

5.05
#815AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#815AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815AC0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AC0#FFFFFF#000000##FFFFFF
##815AC01.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336FC3
Deuteranopia (green-blind)
#3E6EBE
Tritanopia (blue-blind)
#746E84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #815ac0;
/* rgb */ color: rgb(129, 90, 192);
/* oklch */ color: oklch(55.6% 0.155 298.9);
Tailwind
colors: {
  custom: {
    50: '#a98ad3',
    500: '#815ac0',
    950: '#000000',
  },
}
SCSS
$custom: #815ac0;
$custom-light: #a98ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#815ac0",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 262.941,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.15485,
    "h": 298.9
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#815AC0
secondary
#C0D0A6
accent
#D453A3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #815AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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