#815EA7#815EA7

#815EA7 is a mid, moderate violet. Relative luminance 0.155; OKLCH L 54.9% C 0.116 H 305.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#815EA7
RGBrgb(129, 94, 167)
HSLhsl(269, 29%, 51%)
HSVhsv(269, 44%, 65%)
CMYKcmyk(22.8%, 43.7%, 0%, 34.5%)
CIE-LABlab(46.26, 29.17, -34.06)
CIE-LCHlch(46.26, 44.84, 310.58°)
OKLaboklab(54.86% 0.0664 -0.0949)
OKLCHoklch(54.86% 0.116 305)
XYZxyz(20.0296, 15.4627, 38.4811)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EA7 #84A75E
analogous
#5E5FA7 #815EA7 #A55EA7
triadic
#815EA7 #A7815E #5EA781
tetradic
#815EA7 #A75E5F #84A75E #5EA7A5
square
#815EA7 #A75E5F #84A75E #5EA7A5
split-complementary
#815EA7 #A7A55E #5FA75E
monochromatic
#44315A #634781 #815EA7 #A086BD #BFADD2

Accessibility & contrast

On white

5.13
#815EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#815EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815EA7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EA7#FFFFFF#000000##FFFFFF
##815EA71.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAA
Deuteranopia (green-blind)
#546EA5
Tritanopia (blue-blind)
#7B6A7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815ea7;
/* rgb */ color: rgb(129, 94, 167);
/* oklch */ color: oklch(54.9% 0.116 305.0);
Tailwind
colors: {
  custom: {
    50: '#a78cc1',
    500: '#815ea7',
    950: '#000000',
  },
}
SCSS
$custom: #815ea7;
$custom-light: #a78cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#815ea7",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 268.767,
    "s": 29.317,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.11587,
    "h": 305
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

primary
#815EA7
secondary
#B1C1A0
accent
#C66296
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #815EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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