#815EBA#815EBA

#815EBA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.141 H 299.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#815EBA
RGBrgb(129, 94, 186)
HSLhsl(263, 40%, 55%)
HSVhsv(263, 49%, 73%)
CMYKcmyk(30.6%, 49.5%, 0%, 27.1%)
CIE-LABlab(47.26, 33.94, -43.59)
CIE-LCHlch(47.26, 55.25, 307.91°)
OKLaboklab(55.93% 0.0691 -0.1227)
OKLCHoklch(55.93% 0.141 299.4)
XYZxyz(21.9168, 16.2175, 48.4205)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EBA #97BA5E
analogous
#5E69BA #815EBA #AF5EBA
triadic
#815EBA #BA815E #5EBA81
tetradic
#815EBA #BA5E69 #97BA5E #5EBAAF
square
#815EBA #BA5E69 #97BA5E #5EBAAF
split-complementary
#815EBA #BAAF5E #69BA5E
monochromatic
#472F6E #634299 #815EBA #A389CC #C4B4DF

Accessibility & contrast

On white

4.95
#815EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#815EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815EBA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EBA#FFFFFF#000000##FFFFFF
##815EBA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4070BD
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#756F83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815eba;
/* rgb */ color: rgb(129, 94, 186);
/* oklch */ color: oklch(55.9% 0.141 299.4);
Tailwind
colors: {
  custom: {
    50: '#a88ccf',
    500: '#815eba',
    950: '#000000',
  },
}
SCSS
$custom: #815eba;
$custom-light: #a88ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#815eba",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 262.826,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.14081,
    "h": 299.4
  },
  "luminance": 0.16218
}

Semantic roles & 50–950 ramp

primary
#815EBA
secondary
#BFCDA7
accent
#D058A2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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