#815FAF#815FAF

#815FAF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.5% C 0.125 H 302.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#815FAF
RGBrgb(129, 95, 175)
HSLhsl(266, 33%, 53%)
HSVhsv(266, 46%, 69%)
CMYKcmyk(26.3%, 45.7%, 0%, 31.4%)
CIE-LABlab(46.90, 30.56, -37.74)
CIE-LCHlch(46.90, 48.56, 309.00°)
OKLaboklab(55.47% 0.0663 -0.1056)
OKLCHoklch(55.47% 0.125 302.1)
XYZxyz(20.8816, 15.9467, 42.5270)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FAF #8DAF5F
analogous
#5F65AF #815FAF #A95FAF
triadic
#815FAF #AF815F #5FAF81
tetradic
#815FAF #AF5F65 #8DAF5F #5FAFA9
square
#815FAF #AF5F65 #8DAF5F #5FAFA9
split-complementary
#815FAF #AFA95F #65AF5F
monochromatic
#463162 #63468B #815FAF #A188C3 #C1B1D8

Accessibility & contrast

On white

5.01
#815FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#815FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FAF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FAF#FFFFFF#000000##FFFFFF
##815FAF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#796D7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #815faf;
/* rgb */ color: rgb(129, 95, 175);
/* oklch */ color: oklch(55.5% 0.125 302.1);
Tailwind
colors: {
  custom: {
    50: '#a78dc7',
    500: '#815faf',
    950: '#000000',
  },
}
SCSS
$custom: #815faf;
$custom-light: #a78dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#815faf",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 265.5,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.1247,
    "h": 302.1
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#815FAF
secondary
#B7C6A4
accent
#C95E9C
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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