#813BBB#813BBB

#813BBB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.194 H 305.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#813BBB
RGBrgb(129, 59, 187)
HSLhsl(273, 52%, 48%)
HSVhsv(273, 68%, 73%)
CMYKcmyk(31%, 68.4%, 0%, 26.7%)
CIE-LABlab(40.22, 53.00, -55.47)
CIE-LCHlch(40.22, 76.72, 313.70°)
OKLaboklab(50.8% 0.1127 -0.1574)
OKLCHoklch(50.8% 0.194 305.6)
XYZxyz(19.5849, 11.3831, 48.1695)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BBB #75BB3B
analogous
#413BBB #813BBB #BB3BB5
triadic
#813BBB #BB813B #3BBB81
tetradic
#813BBB #BB413B #75BB3B #3BB5BB
square
#813BBB #BB413B #75BB3B #3BB5BB
split-complementary
#813BBB #B5BB3B #3BBB41
monochromatic
#411E5E #612C8C #813BBB #9F65CE #BC93DD

Accessibility & contrast

On white

6.41
#813BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#813BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BBB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BBB#FFFFFF#000000##FFFFFF
##813BBB1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#105FB8
Tritanopia (blue-blind)
#775876
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813bbb;
/* rgb */ color: rgb(129, 59, 187);
/* oklch */ color: oklch(50.8% 0.194 305.6);
Tailwind
colors: {
  custom: {
    50: '#aa76d0',
    500: '#813bbb',
    950: '#000000',
  },
}
SCSS
$custom: #813bbb;
$custom-light: #aa76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#813bbb",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 272.813,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.19357,
    "h": 305.6
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#813BBB
secondary
#A6C88A
accent
#DB4C8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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