#815AEB#815AEB

#815AEB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.208 H 290.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#815AEB
RGBrgb(129, 90, 235)
HSLhsl(256, 78%, 64%)
HSVhsv(256, 62%, 92%)
CMYKcmyk(45.1%, 61.7%, 0%, 7.8%)
CIE-LABlab(49.47, 49.31, -68.04)
CIE-LCHlch(49.47, 84.03, 305.93°)
OKLaboklab(58.54% 0.0744 -0.1945)
OKLCHoklch(58.54% 0.208 290.9)
XYZxyz(27.7006, 17.9766, 80.5915)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AEB #C4EB5A
analogous
#5A7BEB #815AEB #C95AEB
triadic
#815AEB #EB815A #5AEB81
tetradic
#815AEB #EB5A7B #C4EB5A #5AEBC9
square
#815AEB #EB5A7B #C4EB5A #5AEBC9
split-complementary
#815AEB #EBC95A #7BEB5A
monochromatic
#4116B5 #5723E4 #815AEB #AB91F2 #D4C7F8

Accessibility & contrast

On white

4.57
#815AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#815AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AEB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AEB#FFFFFF#000000##000000
##815AEB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#617C9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815aeb;
/* rgb */ color: rgb(129, 90, 235);
/* oklch */ color: oklch(58.5% 0.208 290.9);
Tailwind
colors: {
  custom: {
    50: '#ad8af2',
    500: '#815aeb',
    950: '#000000',
  },
}
SCSS
$custom: #815aeb;
$custom-light: #ad8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#815aeb",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 256.138,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5854,
    "c": 0.20823,
    "h": 290.9
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#815AEB
secondary
#DCEAB7
accent
#DB0BA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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