#815BD5#815BD5

#815BD5 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.180 H 294.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#815BD5
RGBrgb(129, 91, 213)
HSLhsl(259, 59%, 60%)
HSVhsv(259, 57%, 84%)
CMYKcmyk(39.4%, 57.3%, 0%, 16.5%)
CIE-LABlab(48.20, 42.78, -57.63)
CIE-LCHlch(48.20, 71.77, 306.59°)
OKLaboklab(57.14% 0.0742 -0.1638)
OKLCHoklch(57.14% 0.18 294.4)
XYZxyz(24.8014, 16.9528, 64.9034)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BD5 #AFD55B
analogous
#5B72D5 #815BD5 #BE5BD5
triadic
#815BD5 #D5815B #5BD581
tetradic
#815BD5 #D55B72 #AFD55B #5BD5BE
square
#815BD5 #D55B72 #AFD55B #5BD5BE
split-complementary
#815BD5 #D5BE5B #72D55B
monochromatic
#472591 #5E32C1 #815BD5 #A68CE1 #CCBCEE

Accessibility & contrast

On white

4.78
#815BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #815BD5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BD5#FFFFFF#000000##FFFFFF
##815BD51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1474D9
Deuteranopia (green-blind)
#2670D2
Tritanopia (blue-blind)
#6C758F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815bd5;
/* rgb */ color: rgb(129, 91, 213);
/* oklch */ color: oklch(57.1% 0.180 294.4);
Tailwind
colors: {
  custom: {
    50: '#aa8be3',
    500: '#815bd5',
    950: '#000000',
  },
}
SCSS
$custom: #815bd5;
$custom-light: #aa8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#815bd5",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 258.689,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.17987,
    "h": 294.4
  },
  "luminance": 0.16953
}

Semantic roles & 50–950 ramp

primary
#815BD5
secondary
#CFDEAE
accent
#E245B1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #815BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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