#815AD2#815AD2

#815AD2 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.178 H 295.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#815AD2
RGBrgb(129, 90, 210)
HSLhsl(260, 57%, 59%)
HSVhsv(260, 57%, 82%)
CMYKcmyk(38.6%, 57.1%, 0%, 17.6%)
CIE-LABlab(47.79, 42.54, -56.57)
CIE-LCHlch(47.79, 70.78, 306.94°)
OKLaboklab(56.78% 0.0754 -0.1607)
OKLCHoklch(56.78% 0.178 295.1)
XYZxyz(24.3392, 16.6321, 62.8882)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AD2 #ABD25A
analogous
#5A6FD2 #815AD2 #BD5AD2
triadic
#815AD2 #D2815A #5AD281
tetradic
#815AD2 #D25A6F #ABD25A #5AD2BD
square
#815AD2 #D25A6F #ABD25A #5AD2BD
split-complementary
#815AD2 #D2BD5A #6FD25A
monochromatic
#47268C #6033BC #815AD2 #A68ADF #CABAEC

Accessibility & contrast

On white

4.85
#815AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#815AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815AD2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AD2#FFFFFF#000000##FFFFFF
##815AD21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1872D6
Deuteranopia (green-blind)
#2970CF
Tritanopia (blue-blind)
#6D748D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815ad2;
/* rgb */ color: rgb(129, 90, 210);
/* oklch */ color: oklch(56.8% 0.178 295.1);
Tailwind
colors: {
  custom: {
    50: '#aa8ae0',
    500: '#815ad2',
    950: '#000000',
  },
}
SCSS
$custom: #815ad2;
$custom-light: #aa8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#815ad2",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 259.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.17755,
    "h": 295.1
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#815AD2
secondary
#CCDCAC
accent
#E047AF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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