#815CD1#815CD1

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

Color values

HEX#815CD1
RGBrgb(129, 92, 209)
HSLhsl(259, 56%, 59%)
HSVhsv(259, 56%, 82%)
CMYKcmyk(38.3%, 56%, 0%, 18%)
CIE-LABlab(48.16, 41.14, -55.40)
CIE-LCHlch(48.16, 69.01, 306.60°)
OKLaboklab(57.04% 0.073 -0.1573)
OKLCHoklch(57.04% 0.173 294.9)
XYZxyz(24.3860, 16.9244, 62.2912)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CD1 #ACD15C
analogous
#5C72D1 #815CD1 #BC5CD1
triadic
#815CD1 #D1815C #5CD181
tetradic
#815CD1 #D15C72 #ACD15C #5CD1BC
square
#815CD1 #D15C72 #ACD15C #5CD1BC
split-complementary
#815CD1 #D1BC5C #72D15C
monochromatic
#47278B #5F35BB #815CD1 #A68CDE #CBBBEC

Accessibility & contrast

On white

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

On black

4.39
#815CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##815CD1#FFFFFF#000000##FFFFFF
##815CD11.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2173D5
Deuteranopia (green-blind)
#2E71CE
Tritanopia (blue-blind)
#6D758E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815cd1;
/* rgb */ color: rgb(129, 92, 209);
/* oklch */ color: oklch(57.0% 0.173 294.9);
Tailwind
colors: {
  custom: {
    50: '#aa8be0',
    500: '#815cd1',
    950: '#000000',
  },
}
SCSS
$custom: #815cd1;
$custom-light: #aa8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#815cd1",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 258.974,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57037,
    "c": 0.17342,
    "h": 294.9
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#815CD1
secondary
#CDDBAD
accent
#DF49B0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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