#815AEE#815AEE

#815AEE is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.212 H 290.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#815AEE
RGBrgb(129, 90, 238)
HSLhsl(256, 81%, 64%)
HSVhsv(256, 62%, 93%)
CMYKcmyk(45.8%, 62.2%, 0%, 6.7%)
CIE-LABlab(49.68, 50.14, -69.38)
CIE-LCHlch(49.68, 85.60, 305.85°)
OKLaboklab(58.76% 0.0742 -0.1984)
OKLCHoklch(58.76% 0.212 290.5)
XYZxyz(28.1377, 18.1515, 82.8934)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AEE #C7EE5A
analogous
#5A7DEE #815AEE #CB5AEE
triadic
#815AEE #EE815A #5AEE81
tetradic
#815AEE #EE5A7D #C7EE5A #5AEECB
square
#815AEE #EE5A7D #C7EE5A #5AEECB
split-complementary
#815AEE #EECB5A #7DEE5A
monochromatic
#3F13BA #5723E8 #815AEE #AB91F4 #D6C9F9

Accessibility & contrast

On white

4.54
#815AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#815AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AEE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AEE#FFFFFF#000000##000000
##815AEE1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#5F7D9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815aee;
/* rgb */ color: rgb(129, 90, 238);
/* oklch */ color: oklch(58.8% 0.212 290.5);
Tailwind
colors: {
  custom: {
    50: '#ad8af4',
    500: '#815aee',
    950: '#000000',
  },
}
SCSS
$custom: #815aee;
$custom-light: #ad8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#815aee",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 255.811,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.21183,
    "h": 290.5
  },
  "luminance": 0.18153
}

Semantic roles & 50–950 ramp

primary
#815AEE
secondary
#DEECB8
accent
#DE08A5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #815AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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