#815EBE#815EBE

#815EBE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.146 H 298.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#815EBE
RGBrgb(129, 94, 190)
HSLhsl(262, 42%, 56%)
HSVhsv(262, 51%, 75%)
CMYKcmyk(32.1%, 50.5%, 0%, 25.5%)
CIE-LABlab(47.48, 34.98, -45.56)
CIE-LCHlch(47.48, 57.43, 307.52°)
OKLaboklab(56.17% 0.0695 -0.1284)
OKLCHoklch(56.17% 0.146 298.4)
XYZxyz(22.3480, 16.3900, 50.6914)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EBE #9BBE5E
analogous
#5E6BBE #815EBE #B15EBE
triadic
#815EBE #BE815E #5EBE81
tetradic
#815EBE #BE5E6B #9BBE5E #5EBEB1
square
#815EBE #BE5E6B #9BBE5E #5EBEB1
split-complementary
#815EBE #BEB15E #6BBE5E
monochromatic
#482E73 #63409F #815EBE #A38AD0 #C5B5E1

Accessibility & contrast

On white

4.91
#815EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#815EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815EBE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EBE#FFFFFF#000000##FFFFFF
##815EBE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C1
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#747085
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815ebe;
/* rgb */ color: rgb(129, 94, 190);
/* oklch */ color: oklch(56.2% 0.146 298.4);
Tailwind
colors: {
  custom: {
    50: '#a88cd2',
    500: '#815ebe',
    950: '#000000',
  },
}
SCSS
$custom: #815ebe;
$custom-light: #a88cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#815ebe",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 261.875,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56167,
    "c": 0.14601,
    "h": 298.4
  },
  "luminance": 0.1639
}

Semantic roles & 50–950 ramp

primary
#815EBE
secondary
#C1D0A8
accent
#D256A5
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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