#815BCD#815BCD

#815BCD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.170 H 295.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#815BCD
RGBrgb(129, 91, 205)
HSLhsl(260, 53%, 58%)
HSVhsv(260, 56%, 80%)
CMYKcmyk(37.1%, 55.6%, 0%, 19.6%)
CIE-LABlab(47.70, 40.64, -53.86)
CIE-LCHlch(47.70, 67.48, 307.04°)
OKLaboklab(56.61% 0.0741 -0.1528)
OKLCHoklch(56.61% 0.17 295.9)
XYZxyz(23.8110, 16.5567, 59.6870)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BCD #A7CD5B
analogous
#5B6ECD #815BCD #BA5BCD
triadic
#815BCD #CD815B #5BCD81
tetradic
#815BCD #CD5B6E #A7CD5B #5BCDBA
square
#815BCD #CD5B6E #A7CD5B #5BCDBA
split-complementary
#815BCD #CDBA5B #6ECD5B
monochromatic
#472985 #6137B4 #815BCD #A58ADB #C9B9EA

Accessibility & contrast

On white

4.87
#815BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#815BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BCD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BCD#FFFFFF#000000##FFFFFF
##815BCD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#3270CA
Tritanopia (blue-blind)
#6F738B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815bcd;
/* rgb */ color: rgb(129, 91, 205);
/* oklch */ color: oklch(56.6% 0.170 295.9);
Tailwind
colors: {
  custom: {
    50: '#aa8bdd',
    500: '#815bcd',
    950: '#000000',
  },
}
SCSS
$custom: #815bcd;
$custom-light: #aa8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#815bcd",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 260,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56612,
    "c": 0.16982,
    "h": 295.9
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#815BCD
secondary
#C9D9AB
accent
#DD4BAC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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