#815FA9#815FA9

#815FA9 is a mid, moderate violet. Relative luminance 0.157; OKLCH L 55.1% C 0.117 H 304.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#815FA9
RGBrgb(129, 95, 169)
HSLhsl(268, 30%, 52%)
HSVhsv(268, 44%, 66%)
CMYKcmyk(23.7%, 43.8%, 0%, 33.7%)
CIE-LABlab(46.60, 29.07, -34.70)
CIE-LCHlch(46.60, 45.27, 309.96°)
OKLaboklab(55.14% 0.0653 -0.0968)
OKLCHoklch(55.14% 0.117 304)
XYZxyz(20.3054, 15.7162, 39.4922)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FA9 #87A95F
analogous
#5F62A9 #815FA9 #A65FA9
triadic
#815FA9 #A9815F #5FA981
tetradic
#815FA9 #A95F62 #87A95F #5FA9A6
square
#815FA9 #A95F62 #87A95F #5FA9A6
split-complementary
#815FA9 #A9A65F #62A95F
monochromatic
#45325C #634784 #815FA9 #A087BE #C0AFD4

Accessibility & contrast

On white

5.07
#815FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#815FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FA9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FA9#FFFFFF#000000##FFFFFF
##815FA91.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAC
Deuteranopia (green-blind)
#546EA7
Tritanopia (blue-blind)
#7A6B7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815fa9;
/* rgb */ color: rgb(129, 95, 169);
/* oklch */ color: oklch(55.1% 0.117 304.0);
Tailwind
colors: {
  custom: {
    50: '#a78dc3',
    500: '#815fa9',
    950: '#000000',
  },
}
SCSS
$custom: #815fa9;
$custom-light: #a78dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#815fa9",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 267.568,
    "s": 30.081,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.11678,
    "h": 304
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#815FA9
secondary
#B3C2A2
accent
#C66198
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #815FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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