#815BE0#815BE0

#815BE0 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.9% C 0.194 H 292.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#815BE0
RGBrgb(129, 91, 224)
HSLhsl(257, 68%, 62%)
HSVhsv(257, 59%, 88%)
CMYKcmyk(42.4%, 59.4%, 0%, 12.2%)
CIE-LABlab(48.92, 45.76, -62.72)
CIE-LCHlch(48.92, 77.64, 306.11°)
OKLaboklab(57.9% 0.074 -0.1788)
OKLCHoklch(57.9% 0.194 292.5)
XYZxyz(26.2452, 17.5304, 72.5074)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BE0 #BAE05B
analogous
#5B78E0 #815BE0 #C45BE0
triadic
#815BE0 #E0815B #5BE081
tetradic
#815BE0 #E05B78 #BAE05B #5BE0C4
square
#815BE0 #E05B78 #BAE05B #5BE0C4
split-complementary
#815BE0 #E0C45B #78E05B
monochromatic
#441FA2 #5A28D5 #815BE0 #A98EEA #D0C2F3

Accessibility & contrast

On white

4.66
#815BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#815BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815BE0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BE0#FFFFFF#000000##FFFFFF
##815BE01.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#0272DD
Tritanopia (blue-blind)
#677995
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815be0;
/* rgb */ color: rgb(129, 91, 224);
/* oklch */ color: oklch(57.9% 0.194 292.5);
Tailwind
colors: {
  custom: {
    50: '#ac8bea',
    500: '#815be0',
    950: '#000000',
  },
}
SCSS
$custom: #815be0;
$custom-light: #ac8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#815be0",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 224
  },
  "hsl": {
    "h": 257.143,
    "s": 68.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.1935,
    "h": 292.5
  },
  "luminance": 0.17531
}

Semantic roles & 50–950 ramp

primary
#815BE0
secondary
#D6E4B3
accent
#D0159B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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