#815CD0#815CD0

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

Color values

HEX#815CD0
RGBrgb(129, 92, 208)
HSLhsl(259, 55%, 59%)
HSVhsv(259, 56%, 82%)
CMYKcmyk(38%, 55.8%, 0%, 18.4%)
CIE-LABlab(48.10, 40.88, -54.93)
CIE-LCHlch(48.10, 68.47, 306.65°)
OKLaboklab(56.97% 0.073 -0.1559)
OKLCHoklch(56.97% 0.172 295.1)
XYZxyz(24.2626, 16.8750, 61.6412)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CD0 #ABD05C
analogous
#5C71D0 #815CD0 #BB5CD0
triadic
#815CD0 #D0815C #5CD081
tetradic
#815CD0 #D05C71 #ABD05C #5CD0BB
square
#815CD0 #D05C71 #ABD05C #5CD0BB
split-complementary
#815CD0 #D0BB5C #71D05C
monochromatic
#47288A #6035B9 #815CD0 #A68CDE #CABBEB

Accessibility & contrast

On white

4.80
#815CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #815CD0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CD0#FFFFFF#000000##FFFFFF
##815CD01.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2373D4
Deuteranopia (green-blind)
#2F70CD
Tritanopia (blue-blind)
#6E748D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815cd0;
/* rgb */ color: rgb(129, 92, 208);
/* oklch */ color: oklch(57.0% 0.172 295.1);
Tailwind
colors: {
  custom: {
    50: '#aa8bdf',
    500: '#815cd0',
    950: '#000000',
  },
}
SCSS
$custom: #815cd0;
$custom-light: #aa8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#815cd0",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 259.138,
    "s": 55.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56971,
    "c": 0.17215,
    "h": 295.1
  },
  "luminance": 0.16875
}

Semantic roles & 50–950 ramp

primary
#815CD0
secondary
#CCDBAD
accent
#DF49AF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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