#815FD5#815FD5

#815FD5 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.174 H 293.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#815FD5
RGBrgb(129, 95, 213)
HSLhsl(257, 58%, 60%)
HSVhsv(257, 55%, 84%)
CMYKcmyk(39.4%, 55.4%, 0%, 16.5%)
CIE-LABlab(49.08, 40.51, -56.22)
CIE-LCHlch(49.08, 69.30, 305.78°)
OKLaboklab(57.79% 0.0694 -0.1597)
OKLCHoklch(57.79% 0.174 293.5)
XYZxyz(25.1525, 17.6550, 65.0204)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FD5 #B3D55F
analogous
#5F78D5 #815FD5 #BC5FD5
triadic
#815FD5 #D5815F #5FD581
tetradic
#815FD5 #D55F78 #B3D55F #5FD5BC
square
#815FD5 #D55F78 #B3D55F #5FD5BC
split-complementary
#815FD5 #D5BC5F #78D55F
monochromatic
#462793 #5D33C3 #815FD5 #A78FE2 #CDC0EE

Accessibility & contrast

On white

4.63
#815FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#815FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815FD5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FD5#FFFFFF#000000##FFFFFF
##815FD51.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2476D9
Deuteranopia (green-blind)
#2E73D2
Tritanopia (blue-blind)
#6B7891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815fd5;
/* rgb */ color: rgb(129, 95, 213);
/* oklch */ color: oklch(57.8% 0.174 293.5);
Tailwind
colors: {
  custom: {
    50: '#aa8de3',
    500: '#815fd5',
    950: '#000000',
  },
}
SCSS
$custom: #815fd5;
$custom-light: #aa8de3;
$custom-dark: #000000;
JSON
{
  "hex": "#815fd5",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 257.288,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.17414,
    "h": 293.5
  },
  "luminance": 0.17656
}

Semantic roles & 50–950 ramp

primary
#815FD5
secondary
#D1DEB1
accent
#C61F96
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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