#813BBD#813BBD

#813BBD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.196 H 305.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#813BBD
RGBrgb(129, 59, 189)
HSLhsl(272, 52%, 49%)
HSVhsv(272, 69%, 74%)
CMYKcmyk(31.7%, 68.8%, 0%, 25.9%)
CIE-LABlab(40.36, 53.47, -56.41)
CIE-LCHlch(40.36, 77.73, 313.47°)
OKLaboklab(50.94% 0.1124 -0.1602)
OKLCHoklch(50.94% 0.196 305.1)
XYZxyz(19.8005, 11.4693, 49.3049)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BBD #77BD3B
analogous
#403BBD #813BBD #BD3BB8
triadic
#813BBD #BD813B #3BBD81
tetradic
#813BBD #BD403B #77BD3B #3BB8BD
square
#813BBD #BD403B #77BD3B #3BB8BD
split-complementary
#813BBD #B8BD3B #3BBD40
monochromatic
#411E60 #612C8E #813BBD #9F66CF #BC95DE

Accessibility & contrast

On white

6.38
#813BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#813BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BBD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BBD#FFFFFF#000000##FFFFFF
##813BBD1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#765877
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813bbd;
/* rgb */ color: rgb(129, 59, 189);
/* oklch */ color: oklch(50.9% 0.196 305.1);
Tailwind
colors: {
  custom: {
    50: '#aa76d2',
    500: '#813bbd',
    950: '#000000',
  },
}
SCSS
$custom: #813bbd;
$custom-light: #aa76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#813bbd",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 272.308,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.19568,
    "h": 305.1
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#813BBD
secondary
#A7C98B
accent
#DC4C8E
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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