#815CB1#815CB1

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

Color values

HEX#815CB1
RGBrgb(129, 92, 177)
HSLhsl(266, 35%, 53%)
HSVhsv(266, 48%, 69%)
CMYKcmyk(27.1%, 48%, 0%, 30.6%)
CIE-LABlab(46.31, 32.82, -39.86)
CIE-LCHlch(46.31, 51.63, 309.47°)
OKLaboklab(55.06% 0.0708 -0.1118)
OKLCHoklch(55.06% 0.132 302.4)
XYZxyz(20.8145, 15.4957, 43.4809)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CB1 #8CB15C
analogous
#5C61B1 #815CB1 #AC5CB1
triadic
#815CB1 #B1815C #5CB181
tetradic
#815CB1 #B15C61 #8CB15C #5CB1AC
square
#815CB1 #B15C61 #8CB15C #5CB1AC
split-complementary
#815CB1 #B1AC5C #61B15C
monochromatic
#462F63 #63438D #815CB1 #A185C5 #C1AFD9

Accessibility & contrast

On white

5.12
#815CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#815CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CB1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CB1#FFFFFF#000000##FFFFFF
##815CB11.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB4
Deuteranopia (green-blind)
#4C6DAF
Tritanopia (blue-blind)
#786B7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815cb1;
/* rgb */ color: rgb(129, 92, 177);
/* oklch */ color: oklch(55.1% 0.132 302.4);
Tailwind
colors: {
  custom: {
    50: '#a88bc9',
    500: '#815cb1',
    950: '#000000',
  },
}
SCSS
$custom: #815cb1;
$custom-light: #a88bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#815cb1",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 266.118,
    "s": 35.27,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55057,
    "c": 0.13233,
    "h": 302.4
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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