#815DCD#815DCD

#815DCD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.167 H 295.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#815DCD
RGBrgb(129, 93, 205)
HSLhsl(259, 53%, 58%)
HSVhsv(259, 55%, 80%)
CMYKcmyk(37.1%, 54.6%, 0%, 19.6%)
CIE-LABlab(48.14, 39.50, -53.15)
CIE-LCHlch(48.14, 66.23, 306.62°)
OKLaboklab(56.94% 0.0717 -0.1507)
OKLCHoklch(56.94% 0.167 295.4)
XYZxyz(23.9842, 16.9032, 59.7448)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DCD #A9CD5D
analogous
#5D71CD #815DCD #B95DCD
triadic
#815DCD #CD815D #5DCD81
tetradic
#815DCD #CD5D71 #A9CD5D #5DCDB9
square
#815DCD #CD5D71 #A9CD5D #5DCDB9
split-complementary
#815DCD #CDB95D #71CD5D
monochromatic
#472986 #6038B5 #815DCD #A58CDB #CABBEA

Accessibility & contrast

On white

4.79
#815DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#815DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DCD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DCD#FFFFFF#000000##FFFFFF
##815DCD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#3571CA
Tritanopia (blue-blind)
#6F748C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815dcd;
/* rgb */ color: rgb(129, 93, 205);
/* oklch */ color: oklch(56.9% 0.167 295.4);
Tailwind
colors: {
  custom: {
    50: '#aa8cdd',
    500: '#815dcd',
    950: '#000000',
  },
}
SCSS
$custom: #815dcd;
$custom-light: #aa8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#815dcd",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 259.286,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.16687,
    "h": 295.4
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#815DCD
secondary
#CBD9AD
accent
#DC4CAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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