#815BCC#815BCC

#815BCC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.169 H 296.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#815BCC
RGBrgb(129, 91, 204)
HSLhsl(260, 53%, 58%)
HSVhsv(260, 55%, 80%)
CMYKcmyk(36.8%, 55.4%, 0%, 20%)
CIE-LABlab(47.63, 40.38, -53.39)
CIE-LCHlch(47.63, 66.94, 307.10°)
OKLaboklab(56.55% 0.0741 -0.1514)
OKLCHoklch(56.55% 0.169 296.1)
XYZxyz(23.6906, 16.5085, 59.0533)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BCC #A6CC5B
analogous
#5B6DCC #815BCC #B95BCC
triadic
#815BCC #CC815B #5BCC81
tetradic
#815BCC #CC5B6D #A6CC5B #5BCCB9
square
#815BCC #CC5B6D #A6CC5B #5BCCB9
split-complementary
#815BCC #CCB95B #6DCC5B
monochromatic
#472984 #6137B2 #815BCC #A58ADB #C9B8E9

Accessibility & contrast

On white

4.88
#815BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#815BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BCC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BCC#FFFFFF#000000##FFFFFF
##815BCC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#336FC9
Tritanopia (blue-blind)
#6F728B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815bcc;
/* rgb */ color: rgb(129, 91, 204);
/* oklch */ color: oklch(56.5% 0.169 296.1);
Tailwind
colors: {
  custom: {
    50: '#aa8adc',
    500: '#815bcc',
    950: '#000000',
  },
}
SCSS
$custom: #815bcc;
$custom-light: #aa8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#815bcc",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 260.177,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.16856,
    "h": 296.1
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#815BCC
secondary
#C9D8AB
accent
#DC4CAC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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