#815BE4#815BE4

#815BE4 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.198 H 291.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#815BE4
RGBrgb(129, 91, 228)
HSLhsl(257, 72%, 63%)
HSVhsv(257, 60%, 89%)
CMYKcmyk(43.4%, 60.1%, 0%, 10.6%)
CIE-LABlab(49.19, 46.85, -64.54)
CIE-LCHlch(49.19, 79.75, 305.97°)
OKLaboklab(58.19% 0.0738 -0.1842)
OKLCHoklch(58.19% 0.198 291.8)
XYZxyz(26.7941, 17.7499, 75.3981)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BE4 #BEE45B
analogous
#5B7AE4 #815BE4 #C55BE4
triadic
#815BE4 #E4815B #5BE481
tetradic
#815BE4 #E45B7A #BEE45B #5BE4C5
square
#815BE4 #E45B7A #BEE45B #5BE4C5
split-complementary
#815BE4 #E4C55B #7AE45B
monochromatic
#431CA9 #5926DB #815BE4 #A990ED #D2C4F5

Accessibility & contrast

On white

4.62
#815BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#815BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815BE4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BE4#FFFFFF#000000##FFFFFF
##815BE41.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#657A97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815be4;
/* rgb */ color: rgb(129, 91, 228);
/* oklch */ color: oklch(58.2% 0.198 291.8);
Tailwind
colors: {
  custom: {
    50: '#ac8bed',
    500: '#815be4',
    950: '#000000',
  },
}
SCSS
$custom: #815be4;
$custom-light: #ac8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#815be4",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 256.642,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58186,
    "c": 0.19841,
    "h": 291.8
  },
  "luminance": 0.17751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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