#815AA2#815AA2

#815AA2 is a mid, moderate violet. Relative luminance 0.146; OKLCH L 53.9% C 0.116 H 307.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#815AA2
RGBrgb(129, 90, 162)
HSLhsl(273, 29%, 49%)
HSVhsv(273, 44%, 64%)
CMYKcmyk(20.4%, 44.4%, 0%, 36.5%)
CIE-LABlab(45.07, 30.32, -32.98)
CIE-LCHlch(45.07, 44.80, 312.59°)
OKLaboklab(53.88% 0.0715 -0.0918)
OKLCHoklch(53.88% 0.116 307.9)
XYZxyz(19.2297, 14.5883, 35.9782)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AA2 #7BA25A
analogous
#5D5AA2 #815AA2 #A25A9F
triadic
#815AA2 #A2815A #5AA281
tetradic
#815AA2 #A25D5A #7BA25A #5A9FA2
square
#815AA2 #A25D5A #7BA25A #5A9FA2
split-complementary
#815AA2 #9FA25A #5AA25D
monochromatic
#422E53 #62447B #815AA2 #9F80B9 #BDA8CF

Accessibility & contrast

On white

5.36
#815AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#815AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815AA2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AA2#FFFFFF#000000##FFFFFF
##815AA21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#536BA0
Tritanopia (blue-blind)
#7C6576
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #815aa2;
/* rgb */ color: rgb(129, 90, 162);
/* oklch */ color: oklch(53.9% 0.116 307.9);
Tailwind
colors: {
  custom: {
    50: '#a789be',
    500: '#815aa2',
    950: '#000000',
  },
}
SCSS
$custom: #815aa2;
$custom-light: #a789be;
$custom-dark: #000000;
JSON
{
  "hex": "#815aa2",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 272.5,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.11636,
    "h": 307.9
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#815AA2
secondary
#ABBD9B
accent
#C56390
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #815AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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