#815BCB#815BCB

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

Color values

HEX#815BCB
RGBrgb(129, 91, 203)
HSLhsl(260, 52%, 58%)
HSVhsv(260, 55%, 80%)
CMYKcmyk(36.5%, 55.2%, 0%, 20.4%)
CIE-LABlab(47.57, 40.11, -52.91)
CIE-LCHlch(47.57, 66.40, 307.17°)
OKLaboklab(56.48% 0.0741 -0.15)
OKLCHoklch(56.48% 0.167 296.3)
XYZxyz(23.5711, 16.4607, 58.4237)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BCB #A5CB5B
analogous
#5B6DCB #815BCB #B95BCB
triadic
#815BCB #CB815B #5BCB81
tetradic
#815BCB #CB5B6D #A5CB5B #5BCBB9
square
#815BCB #CB5B6D #A5CB5B #5BCBB9
split-complementary
#815BCB #CBB95B #6DCB5B
monochromatic
#472982 #6138B1 #815BCB #A589DA #C8B8E8

Accessibility & contrast

On white

4.89
#815BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#815BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BCB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BCB#FFFFFF#000000##FFFFFF
##815BCB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CF
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#70728A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815bcb;
/* rgb */ color: rgb(129, 91, 203);
/* oklch */ color: oklch(56.5% 0.167 296.3);
Tailwind
colors: {
  custom: {
    50: '#aa8adb',
    500: '#815bcb',
    950: '#000000',
  },
}
SCSS
$custom: #815bcb;
$custom-light: #aa8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#815bcb",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 260.357,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.1673,
    "h": 296.3
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#815BCB
secondary
#C8D7AA
accent
#DB4CAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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