#813BB2#813BB2

#813BB2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.184 H 308.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#813BB2
RGBrgb(129, 59, 178)
HSLhsl(275, 50%, 46%)
HSVhsv(275, 67%, 70%)
CMYKcmyk(27.5%, 66.9%, 0%, 30.2%)
CIE-LABlab(39.60, 50.91, -51.17)
CIE-LCHlch(39.60, 72.18, 314.86°)
OKLaboklab(50.16% 0.1136 -0.1448)
OKLCHoklch(50.16% 0.184 308.1)
XYZxyz(18.6515, 11.0097, 43.2534)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BB2 #6CB23B
analogous
#463BB2 #813BB2 #B23BA8
triadic
#813BB2 #B2813B #3BB281
tetradic
#813BB2 #B2463B #6CB23B #3BA8B2
square
#813BB2 #B2463B #6CB23B #3BA8B2
split-complementary
#813BB2 #A8B23B #3BB246
monochromatic
#3E1D56 #602C84 #813BB2 #9E60CA #BA8EDA

Accessibility & contrast

On white

6.56
#813BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#813BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BB2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BB2#FFFFFF#000000##FFFFFF
##813BB21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #813bb2;
/* rgb */ color: rgb(129, 59, 178);
/* oklch */ color: oklch(50.2% 0.184 308.1);
Tailwind
colors: {
  custom: {
    50: '#aa76ca',
    500: '#813bb2',
    950: '#000000',
  },
}
SCSS
$custom: #813bb2;
$custom-light: #aa76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#813bb2",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 275.294,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50155,
    "c": 0.18403,
    "h": 308.1
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#813BB2
secondary
#9FC485
accent
#DA4E88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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