#815CBB#815CBB

#815CBB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.6% C 0.145 H 299.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#815CBB
RGBrgb(129, 92, 187)
HSLhsl(263, 41%, 55%)
HSVhsv(263, 51%, 73%)
CMYKcmyk(31%, 50.8%, 0%, 26.7%)
CIE-LABlab(46.85, 35.36, -44.81)
CIE-LCHlch(46.85, 57.08, 308.27°)
OKLaboklab(55.65% 0.0719 -0.1263)
OKLCHoklch(55.65% 0.145 299.7)
XYZxyz(21.8479, 15.9091, 48.9238)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CBB #96BB5C
analogous
#5C67BB #815CBB #B05CBB
triadic
#815CBB #BB815C #5CBB81
tetradic
#815CBB #BB5C67 #96BB5C #5CBBB0
square
#815CBB #BB5C67 #96BB5C #5CBBB0
split-complementary
#815CBB #BBB05C #67BB5C
monochromatic
#472E6F #63409A #815CBB #A287CD #C4B2DF

Accessibility & contrast

On white

5.02
#815CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#815CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CBB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CBB#FFFFFF#000000##FFFFFF
##815CBB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#456EB9
Tritanopia (blue-blind)
#756E83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #815cbb;
/* rgb */ color: rgb(129, 92, 187);
/* oklch */ color: oklch(55.6% 0.145 299.7);
Tailwind
colors: {
  custom: {
    50: '#a88bd0',
    500: '#815cbb',
    950: '#000000',
  },
}
SCSS
$custom: #815cbb;
$custom-light: #a88bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#815cbb",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 263.368,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.14529,
    "h": 299.7
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#815CBB
secondary
#BECDA5
accent
#D157A1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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