#815FB3#815FB3

#815FB3 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.130 H 301.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#815FB3
RGBrgb(129, 95, 179)
HSLhsl(264, 36%, 54%)
HSVhsv(264, 47%, 70%)
CMYKcmyk(27.9%, 46.9%, 0%, 29.8%)
CIE-LABlab(47.11, 31.57, -39.75)
CIE-LCHlch(47.11, 50.76, 308.46°)
OKLaboklab(55.7% 0.0669 -0.1115)
OKLCHoklch(55.7% 0.13 301)
XYZxyz(21.2803, 16.1061, 44.6268)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FB3 #91B35F
analogous
#5F67B3 #815FB3 #AB5FB3
triadic
#815FB3 #B3815F #5FB381
tetradic
#815FB3 #B35F67 #91B35F #5FB3AB
square
#815FB3 #B35F67 #91B35F #5FB3AB
split-complementary
#815FB3 #B3AB5F #67B35F
monochromatic
#473167 #634590 #815FB3 #A288C7 #C2B2DA

Accessibility & contrast

On white

4.97
#815FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#815FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FB3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FB3#FFFFFF#000000##FFFFFF
##815FB31.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB6
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#786E80
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815fb3;
/* rgb */ color: rgb(129, 95, 179);
/* oklch */ color: oklch(55.7% 0.130 301.0);
Tailwind
colors: {
  custom: {
    50: '#a88dca',
    500: '#815fb3',
    950: '#000000',
  },
}
SCSS
$custom: #815fb3;
$custom-light: #a88dca;
$custom-dark: #000000;
JSON
{
  "hex": "#815fb3",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 264.286,
    "s": 35.593,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.12999,
    "h": 301
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#815FB3
secondary
#BAC9A5
accent
#CC5C9F
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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