#813FB3#813FB3

#813FB3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.180 H 307.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#813FB3
RGBrgb(129, 63, 179)
HSLhsl(274, 48%, 47%)
HSVhsv(274, 65%, 70%)
CMYKcmyk(27.9%, 64.8%, 0%, 29.8%)
CIE-LABlab(40.37, 49.19, -50.51)
CIE-LCHlch(40.37, 70.50, 314.24°)
OKLaboklab(50.74% 0.1089 -0.1429)
OKLCHoklch(50.74% 0.18 307.3)
XYZxyz(18.9658, 11.4770, 43.8553)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FB3 #71B33F
analogous
#473FB3 #813FB3 #B33FAB
triadic
#813FB3 #B3813F #3FB381
tetradic
#813FB3 #B3473F #71B33F #3FABB3
square
#813FB3 #B3473F #71B33F #3FABB3
split-complementary
#813FB3 #ABB33F #3FB347
monochromatic
#401F58 #602F86 #813FB3 #9E66C9 #BB93D9

Accessibility & contrast

On white

6.37
#813FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#813FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FB3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FB3#FFFFFF#000000##FFFFFF
##813FB31.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#795773
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813fb3;
/* rgb */ color: rgb(129, 63, 179);
/* oklch */ color: oklch(50.7% 0.180 307.3);
Tailwind
colors: {
  custom: {
    50: '#a978ca',
    500: '#813fb3',
    950: '#000000',
  },
}
SCSS
$custom: #813fb3;
$custom-light: #a978ca;
$custom-dark: #000000;
JSON
{
  "hex": "#813fb3",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 274.138,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.17964,
    "h": 307.3
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#813FB3
secondary
#A3C489
accent
#D8508B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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