#815FAC#815FAC

#815FAC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.3% C 0.121 H 303.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#815FAC
RGBrgb(129, 95, 172)
HSLhsl(266, 32%, 52%)
HSVhsv(266, 45%, 67%)
CMYKcmyk(25%, 44.8%, 0%, 32.5%)
CIE-LABlab(46.75, 29.81, -36.22)
CIE-LCHlch(46.75, 46.92, 309.46°)
OKLaboklab(55.31% 0.0658 -0.1012)
OKLCHoklch(55.31% 0.121 303)
XYZxyz(20.5902, 15.8301, 40.9925)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FAC #8AAC5F
analogous
#5F63AC #815FAC #A85FAC
triadic
#815FAC #AC815F #5FAC81
tetradic
#815FAC #AC5F63 #8AAC5F #5FACA8
square
#815FAC #AC5F63 #8AAC5F #5FACA8
split-complementary
#815FAC #ACA85F #63AC5F
monochromatic
#46315F #634688 #815FAC #A187C1 #C0B0D6

Accessibility & contrast

On white

5.04
#815FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#815FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FAC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FAC#FFFFFF#000000##FFFFFF
##815FAC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EAF
Deuteranopia (green-blind)
#526FAA
Tritanopia (blue-blind)
#7A6C7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #815fac;
/* rgb */ color: rgb(129, 95, 172);
/* oklch */ color: oklch(55.3% 0.121 303.0);
Tailwind
colors: {
  custom: {
    50: '#a78dc5',
    500: '#815fac',
    950: '#000000',
  },
}
SCSS
$custom: #815fac;
$custom-light: #a78dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#815fac",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 266.494,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.12074,
    "h": 303
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#815FAC
secondary
#B5C4A3
accent
#C8609A
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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