#815FA3#815FA3

#815FA3 is a mid, moderate violet. Relative luminance 0.155; OKLCH L 54.8% C 0.109 H 306.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#815FA3
RGBrgb(129, 95, 163)
HSLhsl(270, 27%, 51%)
HSVhsv(270, 42%, 64%)
CMYKcmyk(20.9%, 41.7%, 0%, 36.1%)
CIE-LABlab(46.31, 27.61, -31.63)
CIE-LCHlch(46.31, 41.99, 311.12°)
OKLaboklab(54.83% 0.0642 -0.0879)
OKLCHoklch(54.83% 0.109 306.1)
XYZxyz(19.7550, 15.4960, 36.5935)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FA3 #81A35F
analogous
#5F5FA3 #815FA3 #A35FA3
triadic
#815FA3 #A3815F #5FA381
tetradic
#815FA3 #A35F5F #81A35F #5FA3A3
square
#815FA3 #A35F5F #81A35F #5FA3A3
split-complementary
#815FA3 #A3A35F #5FA35F
monochromatic
#443256 #62487D #815FA3 #A086B9 #BEADD0

Accessibility & contrast

On white

5.12
#815FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#815FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FA3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FA3#FFFFFF#000000##FFFFFF
##815FA31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA6
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#7C6A79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815fa3;
/* rgb */ color: rgb(129, 95, 163);
/* oklch */ color: oklch(54.8% 0.109 306.1);
Tailwind
colors: {
  custom: {
    50: '#a78dbe',
    500: '#815fa3',
    950: '#000000',
  },
}
SCSS
$custom: #815fa3;
$custom-light: #a78dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#815fa3",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 270,
    "s": 26.984,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.10887,
    "h": 306.1
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#815FA3
secondary
#AFBEA0
accent
#C36494
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #815FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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