#813AB2#813AB2

#813AB2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.185 H 308.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#813AB2
RGBrgb(129, 58, 178)
HSLhsl(276, 51%, 46%)
HSVhsv(276, 67%, 70%)
CMYKcmyk(27.5%, 67.4%, 0%, 30.2%)
CIE-LABlab(39.42, 51.39, -51.44)
CIE-LCHlch(39.42, 72.71, 314.97°)
OKLaboklab(50.03% 0.1147 -0.1456)
OKLCHoklch(50.03% 0.185 308.2)
XYZxyz(18.6006, 10.9079, 43.2364)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AB2 #6BB23A
analogous
#453AB2 #813AB2 #B23AA7
triadic
#813AB2 #B2813A #3AB281
tetradic
#813AB2 #B2453A #6BB23A #3AA7B2
square
#813AB2 #B2453A #6BB23A #3AA7B2
split-complementary
#813AB2 #A7B23A #3AB245
monochromatic
#3E1C56 #602B84 #813AB2 #9F5FCB #BA8DDA

Accessibility & contrast

On white

6.60
#813AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#813AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813AB2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813AB2#FFFFFF#000000##FFFFFF
##813AB21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#215EAF
Tritanopia (blue-blind)
#795471
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #813ab2;
/* rgb */ color: rgb(129, 58, 178);
/* oklch */ color: oklch(50.0% 0.185 308.2);
Tailwind
colors: {
  custom: {
    50: '#aa75ca',
    500: '#813ab2',
    950: '#000000',
  },
}
SCSS
$custom: #813ab2;
$custom-light: #aa75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#813ab2",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 275.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50031,
    "c": 0.18537,
    "h": 308.2
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#813AB2
secondary
#9EC483
accent
#DA4D87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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