#813FBF#813FBF

#813FBF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.193 H 304.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#813FBF
RGBrgb(129, 63, 191)
HSLhsl(271, 50%, 50%)
HSVhsv(271, 67%, 75%)
CMYKcmyk(32.5%, 67%, 0%, 25.1%)
CIE-LABlab(41.19, 52.03, -56.24)
CIE-LCHlch(41.19, 76.62, 312.78°)
OKLaboklab(51.58% 0.1078 -0.1597)
OKLCHoklch(51.58% 0.193 304)
XYZxyz(20.2326, 11.9838, 50.5273)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FBF #7DBF3F
analogous
#413FBF #813FBF #BF3FBD
triadic
#813FBF #BF813F #3FBF81
tetradic
#813FBF #BF413F #7DBF3F #3FBDBF
square
#813FBF #BF413F #7DBF3F #3FBDBF
split-complementary
#813FBF #BDBF3F #3FBF41
monochromatic
#432163 #623091 #813FBF #9F6DCF #BD9BDE

Accessibility & contrast

On white

6.18
#813FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#813FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FBF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FBF#FFFFFF#000000##FFFFFF
##813FBF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0F61BC
Tritanopia (blue-blind)
#755C7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813fbf;
/* rgb */ color: rgb(129, 63, 191);
/* oklch */ color: oklch(51.6% 0.193 304.0);
Tailwind
colors: {
  custom: {
    50: '#aa79d3',
    500: '#813fbf',
    950: '#000000',
  },
}
SCSS
$custom: #813fbf;
$custom-light: #aa79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#813fbf",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 270.938,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.19269,
    "h": 304
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#813FBF
secondary
#ACCA90
accent
#DA4E92
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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