#815EB2#815EB2

#815EB2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.5% C 0.130 H 301.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#815EB2
RGBrgb(129, 94, 178)
HSLhsl(265, 35%, 53%)
HSVhsv(265, 47%, 70%)
CMYKcmyk(27.5%, 47.2%, 0%, 30.2%)
CIE-LABlab(46.83, 31.90, -39.62)
CIE-LCHlch(46.83, 50.87, 308.84°)
OKLaboklab(55.46% 0.0681 -0.1111)
OKLCHoklch(55.46% 0.13 301.5)
XYZxyz(21.0900, 15.8868, 44.0662)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EB2 #8FB25E
analogous
#5E65B2 #815EB2 #AB5EB2
triadic
#815EB2 #B2815E #5EB281
tetradic
#815EB2 #B25E65 #8FB25E #5EB2AB
square
#815EB2 #B25E65 #8FB25E #5EB2AB
split-complementary
#815EB2 #B2AB5E #65B25E
monochromatic
#463065 #63448F #815EB2 #A187C6 #C2B1DA

Accessibility & contrast

On white

5.03
#815EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#815EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815EB2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EB2#FFFFFF#000000##FFFFFF
##815EB21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#786D7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #815eb2;
/* rgb */ color: rgb(129, 94, 178);
/* oklch */ color: oklch(55.5% 0.130 301.5);
Tailwind
colors: {
  custom: {
    50: '#a88cc9',
    500: '#815eb2',
    950: '#000000',
  },
}
SCSS
$custom: #815eb2;
$custom-light: #a88cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#815eb2",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 265,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55463,
    "c": 0.13032,
    "h": 301.5
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#815EB2
secondary
#B9C8A4
accent
#CB5C9D
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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