#813FB7#813FB7

#813FB7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.184 H 306.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#813FB7
RGBrgb(129, 63, 183)
HSLhsl(273, 49%, 48%)
HSVhsv(273, 66%, 72%)
CMYKcmyk(29.5%, 65.6%, 0%, 28.2%)
CIE-LABlab(40.64, 50.13, -52.43)
CIE-LCHlch(40.64, 72.54, 313.71°)
OKLaboklab(51.01% 0.1086 -0.1485)
OKLCHoklch(51.01% 0.184 306.2)
XYZxyz(19.3762, 11.6412, 46.0168)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FB7 #75B73F
analogous
#453FB7 #813FB7 #B73FB1
triadic
#813FB7 #B7813F #3FB781
tetradic
#813FB7 #B7453F #75B73F #3FB1B7
square
#813FB7 #B7453F #75B73F #3FB1B7
split-complementary
#813FB7 #B1B73F #3FB745
monochromatic
#41205C #612F89 #813FB7 #9F68CB #BC96DB

Accessibility & contrast

On white

6.31
#813FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#813FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FB7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FB7#FFFFFF#000000##FFFFFF
##813FB71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#2160B4
Tritanopia (blue-blind)
#785975
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813fb7;
/* rgb */ color: rgb(129, 63, 183);
/* oklch */ color: oklch(51.0% 0.184 306.2);
Tailwind
colors: {
  custom: {
    50: '#aa78cd',
    500: '#813fb7',
    950: '#000000',
  },
}
SCSS
$custom: #813fb7;
$custom-light: #aa78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#813fb7",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 273,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.184,
    "h": 306.2
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#813FB7
secondary
#A6C68B
accent
#D84F8D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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