#815AE4#815AE4

#815AE4 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.200 H 292.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#815AE4
RGBrgb(129, 90, 228)
HSLhsl(257, 72%, 62%)
HSVhsv(257, 61%, 89%)
CMYKcmyk(43.4%, 60.5%, 0%, 10.6%)
CIE-LABlab(48.98, 47.40, -64.88)
CIE-LCHlch(48.98, 80.35, 306.15°)
OKLaboklab(58.03% 0.0749 -0.1852)
OKLCHoklch(58.03% 0.2 292)
XYZxyz(26.7092, 17.5801, 75.3698)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AE4 #BDE45A
analogous
#5A78E4 #815AE4 #C65AE4
triadic
#815AE4 #E4815A #5AE481
tetradic
#815AE4 #E45A78 #BDE45A #5AE4C6
square
#815AE4 #E45A78 #BDE45A #5AE4C6
split-complementary
#815AE4 #E4C65A #78E45A
monochromatic
#431CA8 #5925DB #815AE4 #A98FED #D1C3F5

Accessibility & contrast

On white

4.65
#815AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#815AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815AE4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AE4#FFFFFF#000000##FFFFFF
##815AE41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#657997
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815ae4;
/* rgb */ color: rgb(129, 90, 228);
/* oklch */ color: oklch(58.0% 0.200 292.0);
Tailwind
colors: {
  custom: {
    50: '#ac8aed',
    500: '#815ae4',
    950: '#000000',
  },
}
SCSS
$custom: #815ae4;
$custom-light: #ac8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#815ae4",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 256.957,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.19975,
    "h": 292
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

primary
#815AE4
secondary
#D8E6B4
accent
#D4129D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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