#815CB0#815CB0

#815CB0 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.0% C 0.131 H 302.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#815CB0
RGBrgb(129, 92, 176)
HSLhsl(266, 35%, 53%)
HSVhsv(266, 48%, 69%)
CMYKcmyk(26.7%, 47.7%, 0%, 31%)
CIE-LABlab(46.25, 32.57, -39.35)
CIE-LCHlch(46.25, 51.08, 309.61°)
OKLaboklab(55% 0.0707 -0.1103)
OKLCHoklch(55% 0.131 302.7)
XYZxyz(20.7151, 15.4560, 42.9579)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CB0 #8BB05C
analogous
#5C61B0 #815CB0 #AB5CB0
triadic
#815CB0 #B0815C #5CB081
tetradic
#815CB0 #B05C61 #8BB05C #5CB0AB
square
#815CB0 #B05C61 #8BB05C #5CB0AB
split-complementary
#815CB0 #B0AB5C #61B05C
monochromatic
#463062 #63448B #815CB0 #A185C4 #C1AED8

Accessibility & contrast

On white

5.13
#815CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#815CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CB0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CB0#FFFFFF#000000##FFFFFF
##815CB01.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB3
Deuteranopia (green-blind)
#4D6DAE
Tritanopia (blue-blind)
#796B7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815cb0;
/* rgb */ color: rgb(129, 92, 176);
/* oklch */ color: oklch(55.0% 0.131 302.7);
Tailwind
colors: {
  custom: {
    50: '#a88bc8',
    500: '#815cb0',
    950: '#000000',
  },
}
SCSS
$custom: #815cb0;
$custom-light: #a88bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#815cb0",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 266.429,
    "s": 34.711,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55,
    "c": 0.13103,
    "h": 302.7
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#815CB0
secondary
#B6C6A2
accent
#CB5D9A
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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