#815BCA#815BCA

#815BCA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.166 H 296.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#815BCA
RGBrgb(129, 91, 202)
HSLhsl(261, 51%, 57%)
HSVhsv(261, 55%, 79%)
CMYKcmyk(36.1%, 55%, 0%, 20.8%)
CIE-LABlab(47.51, 39.85, -52.43)
CIE-LCHlch(47.51, 65.86, 307.23°)
OKLaboklab(56.42% 0.0741 -0.1486)
OKLCHoklch(56.42% 0.166 296.5)
XYZxyz(23.4523, 16.4132, 57.7981)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BCA #A4CA5B
analogous
#5B6CCA #815BCA #B95BCA
triadic
#815BCA #CA815B #5BCA81
tetradic
#815BCA #CA5B6C #A4CA5B #5BCAB9
square
#815BCA #CA5B6C #A4CA5B #5BCAB9
split-complementary
#815BCA #CAB95B #6CCA5B
monochromatic
#482A81 #6139AF #815BCA #A589D9 #C8B8E8

Accessibility & contrast

On white

4.90
#815BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#815BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BCA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BCA#FFFFFF#000000##FFFFFF
##815BCA1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#70728A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815bca;
/* rgb */ color: rgb(129, 91, 202);
/* oklch */ color: oklch(56.4% 0.166 296.5);
Tailwind
colors: {
  custom: {
    50: '#aa8adb',
    500: '#815bca',
    950: '#000000',
  },
}
SCSS
$custom: #815bca;
$custom-light: #aa8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#815bca",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 260.541,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.16603,
    "h": 296.5
  },
  "luminance": 0.16414
}

Semantic roles & 50–950 ramp

primary
#815BCA
secondary
#C7D7AA
accent
#DB4DAA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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