#813FBC#813FBC

#813FBC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.189 H 304.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#813FBC
RGBrgb(129, 63, 188)
HSLhsl(272, 50%, 49%)
HSVhsv(272, 66%, 74%)
CMYKcmyk(31.4%, 66.5%, 0%, 26.3%)
CIE-LABlab(40.98, 51.32, -54.82)
CIE-LCHlch(40.98, 75.09, 313.11°)
OKLaboklab(51.37% 0.1081 -0.1555)
OKLCHoklch(51.37% 0.189 304.8)
XYZxyz(19.9058, 11.8531, 48.8064)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FBC #7ABC3F
analogous
#433FBC #813FBC #BC3FB9
triadic
#813FBC #BC813F #3FBC81
tetradic
#813FBC #BC433F #7ABC3F #3FB9BC
square
#813FBC #BC433F #7ABC3F #3FB9BC
split-complementary
#813FBC #B9BC3F #3FBC43
monochromatic
#422060 #62308E #813FBC #9F6BCD #BD99DD

Accessibility & contrast

On white

6.23
#813FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#813FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FBC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FBC#FFFFFF#000000##FFFFFF
##813FBC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#1761B9
Tritanopia (blue-blind)
#765A78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813fbc;
/* rgb */ color: rgb(129, 63, 188);
/* oklch */ color: oklch(51.4% 0.189 304.8);
Tailwind
colors: {
  custom: {
    50: '#aa78d1',
    500: '#813fbc',
    950: '#000000',
  },
}
SCSS
$custom: #813fbc;
$custom-light: #aa78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#813fbc",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 271.68,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.18943,
    "h": 304.8
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#813FBC
secondary
#AAC98E
accent
#D94E90
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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