#815AC7#815AC7

#815AC7 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.1% C 0.164 H 297.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#815AC7
RGBrgb(129, 90, 199)
HSLhsl(261, 49%, 57%)
HSVhsv(261, 55%, 78%)
CMYKcmyk(35.2%, 54.8%, 0%, 22%)
CIE-LABlab(47.11, 39.63, -51.35)
CIE-LCHlch(47.11, 64.87, 307.66°)
OKLaboklab(56.06% 0.0752 -0.1454)
OKLCHoklch(56.06% 0.164 297.4)
XYZxyz(23.0157, 16.1027, 55.9173)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AC7 #A0C75A
analogous
#5A6AC7 #815AC7 #B85AC7
triadic
#815AC7 #C7815A #5AC781
tetradic
#815AC7 #C75A6A #A0C75A #5AC7B8
square
#815AC7 #C75A6A #A0C75A #5AC7B8
split-complementary
#815AC7 #C7B85A #6AC75A
monochromatic
#482A7C #623AAA #815AC7 #A488D7 #C7B5E6

Accessibility & contrast

On white

4.98
#815AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#815AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815AC7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AC7#FFFFFF#000000##FFFFFF
##815AC71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#376EC4
Tritanopia (blue-blind)
#717088
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815ac7;
/* rgb */ color: rgb(129, 90, 199);
/* oklch */ color: oklch(56.1% 0.164 297.4);
Tailwind
colors: {
  custom: {
    50: '#a98ad9',
    500: '#815ac7',
    950: '#000000',
  },
}
SCSS
$custom: #815ac7;
$custom-light: #a98ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#815ac7",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 261.468,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.16373,
    "h": 297.4
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#815AC7
secondary
#C5D5A8
accent
#D94FA8
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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