#815CB2#815CB2

#815CB2 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.134 H 302.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#815CB2
RGBrgb(129, 92, 178)
HSLhsl(266, 36%, 53%)
HSVhsv(266, 48%, 70%)
CMYKcmyk(27.5%, 48.3%, 0%, 30.2%)
CIE-LABlab(46.36, 33.07, -40.36)
CIE-LCHlch(46.36, 52.18, 309.33°)
OKLaboklab(55.12% 0.071 -0.1132)
OKLCHoklch(55.12% 0.134 302.1)
XYZxyz(20.9145, 15.5357, 44.0077)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CB2 #8DB25C
analogous
#5C62B2 #815CB2 #AC5CB2
triadic
#815CB2 #B2815C #5CB281
tetradic
#815CB2 #B25C62 #8DB25C #5CB2AC
square
#815CB2 #B25C62 #8DB25C #5CB2AC
split-complementary
#815CB2 #B2AC5C #62B25C
monochromatic
#462F64 #63438E #815CB2 #A186C6 #C1AFD9

Accessibility & contrast

On white

5.11
#815CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#815CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CB2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CB2#FFFFFF#000000##FFFFFF
##815CB21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#4B6EB0
Tritanopia (blue-blind)
#786B7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815cb2;
/* rgb */ color: rgb(129, 92, 178);
/* oklch */ color: oklch(55.1% 0.134 302.1);
Tailwind
colors: {
  custom: {
    50: '#a88bc9',
    500: '#815cb2',
    950: '#000000',
  },
}
SCSS
$custom: #815cb2;
$custom-light: #a88bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#815cb2",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 265.814,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55115,
    "c": 0.13363,
    "h": 302.1
  },
  "luminance": 0.15536
}

Semantic roles & 50–950 ramp

primary
#815CB2
secondary
#B7C7A2
accent
#CC5C9C
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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