#815CD5#815CD5

#815CD5 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.178 H 294.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#815CD5
RGBrgb(129, 92, 213)
HSLhsl(258, 59%, 60%)
HSVhsv(258, 57%, 84%)
CMYKcmyk(39.4%, 56.8%, 0%, 16.5%)
CIE-LABlab(48.42, 42.22, -57.28)
CIE-LCHlch(48.42, 71.16, 306.39°)
OKLaboklab(57.3% 0.073 -0.1628)
OKLCHoklch(57.3% 0.178 294.2)
XYZxyz(24.8875, 17.1249, 64.9321)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CD5 #B0D55C
analogous
#5C74D5 #815CD5 #BD5CD5
triadic
#815CD5 #D5815C #5CD581
tetradic
#815CD5 #D55C74 #B0D55C #5CD5BD
square
#815CD5 #D55C74 #B0D55C #5CD5BD
split-complementary
#815CD5 #D5BD5C #74D55C
monochromatic
#462591 #5E32C2 #815CD5 #A78DE2 #CCBDEE

Accessibility & contrast

On white

4.75
#815CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#815CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CD5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CD5#FFFFFF#000000##FFFFFF
##815CD51.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1974D9
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#6B7690
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815cd5;
/* rgb */ color: rgb(129, 92, 213);
/* oklch */ color: oklch(57.3% 0.178 294.2);
Tailwind
colors: {
  custom: {
    50: '#aa8be3',
    500: '#815cd5',
    950: '#000000',
  },
}
SCSS
$custom: #815cd5;
$custom-light: #aa8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#815cd5",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 258.347,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.17845,
    "h": 294.2
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#815CD5
secondary
#CFDEAF
accent
#E246B2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #815CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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