#815CB3#815CB3

#815CB3 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.2% C 0.135 H 301.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#815CB3
RGBrgb(129, 92, 179)
HSLhsl(266, 36%, 53%)
HSVhsv(266, 49%, 70%)
CMYKcmyk(27.9%, 48.6%, 0%, 29.8%)
CIE-LABlab(46.41, 33.32, -40.85)
CIE-LCHlch(46.41, 52.72, 309.20°)
OKLaboklab(55.17% 0.0711 -0.1147)
OKLCHoklch(55.17% 0.135 301.8)
XYZxyz(21.0153, 15.5761, 44.5384)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CB3 #8EB35C
analogous
#5C62B3 #815CB3 #AC5CB3
triadic
#815CB3 #B3815C #5CB381
tetradic
#815CB3 #B35C62 #8EB35C #5CB3AC
square
#815CB3 #B35C62 #8EB35C #5CB3AC
split-complementary
#815CB3 #B3AC5C #62B35C
monochromatic
#462F65 #63438F #815CB3 #A186C6 #C2AFDA

Accessibility & contrast

On white

5.10
#815CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#815CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CB3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CB3#FFFFFF#000000##FFFFFF
##815CB31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB6
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#786C7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815cb3;
/* rgb */ color: rgb(129, 92, 179);
/* oklch */ color: oklch(55.2% 0.135 301.8);
Tailwind
colors: {
  custom: {
    50: '#a88bca',
    500: '#815cb3',
    950: '#000000',
  },
}
SCSS
$custom: #815cb3;
$custom-light: #a88bca;
$custom-dark: #000000;
JSON
{
  "hex": "#815cb3",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 265.517,
    "s": 36.402,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55172,
    "c": 0.13492,
    "h": 301.8
  },
  "luminance": 0.15576
}

Semantic roles & 50–950 ramp

primary
#815CB3
secondary
#B8C8A3
accent
#CC5B9C
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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