#815AE0#815AE0

#815AE0 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.195 H 292.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#815AE0
RGBrgb(129, 90, 224)
HSLhsl(257, 68%, 62%)
HSVhsv(257, 60%, 88%)
CMYKcmyk(42.4%, 59.8%, 0%, 12.2%)
CIE-LABlab(48.71, 46.31, -63.06)
CIE-LCHlch(48.71, 78.24, 306.30°)
OKLaboklab(57.75% 0.0751 -0.1798)
OKLCHoklch(57.75% 0.195 292.7)
XYZxyz(26.1603, 17.3605, 72.4791)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AE0 #B9E05A
analogous
#5A76E0 #815AE0 #C45AE0
triadic
#815AE0 #E0815A #5AE081
tetradic
#815AE0 #E05A76 #B9E05A #5AE0C4
square
#815AE0 #E05A76 #B9E05A #5AE0C4
split-complementary
#815AE0 #E0C45A #76E05A
monochromatic
#441EA1 #5A28D5 #815AE0 #A88EEA #D0C1F3

Accessibility & contrast

On white

4.70
#815AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#815AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815AE0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AE0#FFFFFF#000000##FFFFFF
##815AE01.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#677894
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815ae0;
/* rgb */ color: rgb(129, 90, 224);
/* oklch */ color: oklch(57.7% 0.195 292.7);
Tailwind
colors: {
  custom: {
    50: '#ac8aea',
    500: '#815ae0',
    950: '#000000',
  },
}
SCSS
$custom: #815ae0;
$custom-light: #ac8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#815ae0",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 257.463,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.19486,
    "h": 292.7
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#815AE0
secondary
#D5E4B2
accent
#D0159A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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