#815AE5#815AE5

#815AE5 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.201 H 291.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#815AE5
RGBrgb(129, 90, 229)
HSLhsl(257, 73%, 63%)
HSVhsv(257, 61%, 90%)
CMYKcmyk(43.7%, 60.7%, 0%, 10.2%)
CIE-LABlab(49.05, 47.67, -65.33)
CIE-LCHlch(49.05, 80.88, 306.12°)
OKLaboklab(58.11% 0.0748 -0.1865)
OKLCHoklch(58.11% 0.201 291.9)
XYZxyz(26.8484, 17.6358, 76.1030)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AE5 #BEE55A
analogous
#5A78E5 #815AE5 #C75AE5
triadic
#815AE5 #E5815A #5AE581
tetradic
#815AE5 #E55A78 #BEE55A #5AE5C7
square
#815AE5 #E55A78 #BEE55A #5AE5C7
split-complementary
#815AE5 #E5C75A #78E55A
monochromatic
#431BAA #5925DD #815AE5 #A98FED #D2C4F6

Accessibility & contrast

On white

4.64
#815AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#815AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815AE5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AE5#FFFFFF#000000##FFFFFF
##815AE51.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#647A97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815ae5;
/* rgb */ color: rgb(129, 90, 229);
/* oklch */ color: oklch(58.1% 0.201 291.9);
Tailwind
colors: {
  custom: {
    50: '#ac8aee',
    500: '#815ae5',
    950: '#000000',
  },
}
SCSS
$custom: #815ae5;
$custom-light: #ac8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#815ae5",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 256.835,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58105,
    "c": 0.20096,
    "h": 291.9
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#815AE5
secondary
#D8E7B4
accent
#D5119E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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