#813AB9#813AB9

#813AB9 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.193 H 306.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#813AB9
RGBrgb(129, 58, 185)
HSLhsl(274, 52%, 48%)
HSVhsv(274, 69%, 73%)
CMYKcmyk(30.3%, 68.6%, 0%, 27.5%)
CIE-LABlab(39.91, 53.01, -54.79)
CIE-LCHlch(39.91, 76.23, 314.05°)
OKLaboklab(50.53% 0.114 -0.1554)
OKLCHoklch(50.53% 0.193 306.3)
XYZxyz(19.3214, 11.1962, 47.0327)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AB9 #72B93A
analogous
#413AB9 #813AB9 #B93AB2
triadic
#813AB9 #B9813A #3AB981
tetradic
#813AB9 #B9413A #72B93A #3AB2B9
square
#813AB9 #B9413A #72B93A #3AB2B9
split-complementary
#813AB9 #B2B93A #3AB941
monochromatic
#401D5C #612B8A #813AB9 #9E62CE #BB91DC

Accessibility & contrast

On white

6.48
#813AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#813AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813AB9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813AB9#FFFFFF#000000##FFFFFF
##813AB91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#775675
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #813ab9;
/* rgb */ color: rgb(129, 58, 185);
/* oklch */ color: oklch(50.5% 0.193 306.3);
Tailwind
colors: {
  custom: {
    50: '#aa76cf',
    500: '#813ab9',
    950: '#000000',
  },
}
SCSS
$custom: #813ab9;
$custom-light: #aa76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#813ab9",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 273.543,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.19274,
    "h": 306.3
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#813AB9
secondary
#A4C787
accent
#DC4C8B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813AB9

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

Preview Lab → · Contrast checker → · Palette generator →

#813AB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva