#815FBF#815FBF

#815FBF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.4% C 0.146 H 297.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#815FBF
RGBrgb(129, 95, 191)
HSLhsl(261, 43%, 56%)
HSVhsv(261, 50%, 75%)
CMYKcmyk(32.5%, 50.3%, 0%, 25.1%)
CIE-LABlab(47.77, 34.65, -45.68)
CIE-LCHlch(47.77, 57.34, 307.19°)
OKLaboklab(56.4% 0.0682 -0.1288)
OKLCHoklch(56.4% 0.146 297.9)
XYZxyz(22.5471, 16.6129, 51.2988)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FBF #9DBF5F
analogous
#5F6DBF #815FBF #B15FBF
triadic
#815FBF #BF815F #5FBF81
tetradic
#815FBF #BF5F6D #9DBF5F #5FBFB1
square
#815FBF #BF5F6D #9DBF5F #5FBFB1
split-complementary
#815FBF #BFB15F #6DBF5F
monochromatic
#482F75 #6240A1 #815FBF #A38BD0 #C6B6E2

Accessibility & contrast

On white

4.86
#815FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#815FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FBF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FBF#FFFFFF#000000##FFFFFF
##815FBF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D72C2
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#747186
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815fbf;
/* rgb */ color: rgb(129, 95, 191);
/* oklch */ color: oklch(56.4% 0.146 297.9);
Tailwind
colors: {
  custom: {
    50: '#a88dd3',
    500: '#815fbf',
    950: '#000000',
  },
}
SCSS
$custom: #815fbf;
$custom-light: #a88dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#815fbf",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 261.25,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.14574,
    "h": 297.9
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#815FBF
secondary
#C3D1A9
accent
#D355A6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #815FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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