#815FBE#815FBE

#815FBE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.3% C 0.144 H 298.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#815FBE
RGBrgb(129, 95, 190)
HSLhsl(261, 42%, 56%)
HSVhsv(261, 50%, 75%)
CMYKcmyk(32.1%, 50%, 0%, 25.5%)
CIE-LABlab(47.71, 34.39, -45.19)
CIE-LCHlch(47.71, 56.79, 307.28°)
OKLaboklab(56.34% 0.0681 -0.1274)
OKLCHoklch(56.34% 0.144 298.1)
XYZxyz(22.4375, 16.5690, 50.7212)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FBE #9CBE5F
analogous
#5F6CBE #815FBE #B05FBE
triadic
#815FBE #BE815F #5FBE81
tetradic
#815FBE #BE5F6C #9CBE5F #5FBEB0
square
#815FBE #BE5F6C #9CBE5F #5FBEB0
split-complementary
#815FBE #BEB05F #6CBE5F
monochromatic
#482F74 #62419F #815FBE #A38BD0 #C6B6E1

Accessibility & contrast

On white

4.87
#815FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#815FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FBE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FBE#FFFFFF#000000##FFFFFF
##815FBE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C1
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#747186
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815fbe;
/* rgb */ color: rgb(129, 95, 190);
/* oklch */ color: oklch(56.3% 0.144 298.1);
Tailwind
colors: {
  custom: {
    50: '#a88dd2',
    500: '#815fbe',
    950: '#000000',
  },
}
SCSS
$custom: #815fbe;
$custom-light: #a88dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#815fbe",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 261.474,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56338,
    "c": 0.14444,
    "h": 298.1
  },
  "luminance": 0.16569
}

Semantic roles & 50–950 ramp

primary
#815FBE
secondary
#C2D0A9
accent
#D256A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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