#815BE5#815BE5

#815BE5 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.200 H 291.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#815BE5
RGBrgb(129, 91, 229)
HSLhsl(257, 73%, 63%)
HSVhsv(257, 60%, 90%)
CMYKcmyk(43.7%, 60.3%, 0%, 10.2%)
CIE-LABlab(49.26, 47.12, -65.00)
CIE-LCHlch(49.26, 80.28, 305.94°)
OKLaboklab(58.26% 0.0737 -0.1855)
OKLCHoklch(58.26% 0.2 291.7)
XYZxyz(26.9333, 17.8056, 76.1313)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BE5 #BFE55B
analogous
#5B7AE5 #815BE5 #C65BE5
triadic
#815BE5 #E5815B #5BE581
tetradic
#815BE5 #E55B7A #BFE55B #5BE5C6
square
#815BE5 #E55B7A #BFE55B #5BE5C6
split-complementary
#815BE5 #E5C65B #7AE55B
monochromatic
#431BAB #5826DD #815BE5 #AA90ED #D2C5F6

Accessibility & contrast

On white

4.60
#815BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#815BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815BE5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BE5#FFFFFF#000000##FFFFFF
##815BE51.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.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: #815be5;
/* rgb */ color: rgb(129, 91, 229);
/* oklch */ color: oklch(58.3% 0.200 291.7);
Tailwind
colors: {
  custom: {
    50: '#ac8bee',
    500: '#815be5',
    950: '#000000',
  },
}
SCSS
$custom: #815be5;
$custom-light: #ac8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#815be5",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 256.522,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.19964,
    "h": 291.7
  },
  "luminance": 0.17806
}

Semantic roles & 50–950 ramp

primary
#815BE5
secondary
#D9E7B5
accent
#D5119F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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