#815FA6#815FA6

#815FA6 is a mid, moderate violet. Relative luminance 0.156; OKLCH L 55.0% C 0.113 H 305.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#815FA6
RGBrgb(129, 95, 166)
HSLhsl(269, 29%, 51%)
HSVhsv(269, 43%, 65%)
CMYKcmyk(22.3%, 42.8%, 0%, 34.9%)
CIE-LABlab(46.45, 28.34, -33.17)
CIE-LCHlch(46.45, 43.63, 310.51°)
OKLaboklab(54.98% 0.0648 -0.0924)
OKLCHoklch(54.98% 0.113 305)
XYZxyz(20.0270, 15.6048, 38.0260)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FA6 #84A65F
analogous
#5F60A6 #815FA6 #A45FA6
triadic
#815FA6 #A6815F #5FA681
tetradic
#815FA6 #A65F60 #84A65F #5FA6A4
square
#815FA6 #A65F60 #84A65F #5FA6A4
split-complementary
#815FA6 #A6A45F #60A65F
monochromatic
#443259 #634780 #815FA6 #A086BC #BFAED2

Accessibility & contrast

On white

5.10
#815FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#815FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FA6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FA6#FFFFFF#000000##FFFFFF
##815FA61.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DA9
Deuteranopia (green-blind)
#566EA4
Tritanopia (blue-blind)
#7B6B7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815fa6;
/* rgb */ color: rgb(129, 95, 166);
/* oklch */ color: oklch(55.0% 0.113 305.0);
Tailwind
colors: {
  custom: {
    50: '#a78dc0',
    500: '#815fa6',
    950: '#000000',
  },
}
SCSS
$custom: #815fa6;
$custom-light: #a78dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#815fa6",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 268.732,
    "s": 28.514,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.11282,
    "h": 305
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#815FA6
secondary
#B1C0A1
accent
#C56396
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #815FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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