#813FB0#813FB0

#813FB0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.176 H 308.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#813FB0
RGBrgb(129, 63, 176)
HSLhsl(275, 47%, 47%)
HSVhsv(275, 64%, 69%)
CMYKcmyk(26.7%, 64.2%, 0%, 31%)
CIE-LABlab(40.18, 48.49, -49.05)
CIE-LCHlch(40.18, 68.98, 314.67°)
OKLaboklab(50.53% 0.1091 -0.1386)
OKLCHoklch(50.53% 0.176 308.2)
XYZxyz(18.6656, 11.3570, 42.2747)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FB0 #6EB03F
analogous
#493FB0 #813FB0 #B03FA7
triadic
#813FB0 #B0813F #3FB081
tetradic
#813FB0 #B0493F #6EB03F #3FA7B0
square
#813FB0 #B0493F #6EB03F #3FA7B0
split-complementary
#813FB0 #A7B03F #3FB049
monochromatic
#3F1F56 #602F83 #813FB0 #9E65C8 #BB92D8

Accessibility & contrast

On white

6.42
#813FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#813FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FB0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FB0#FFFFFF#000000##FFFFFF
##813FB01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#7A5672
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813fb0;
/* rgb */ color: rgb(129, 63, 176);
/* oklch */ color: oklch(50.5% 0.176 308.2);
Tailwind
colors: {
  custom: {
    50: '#a978c8',
    500: '#813fb0',
    950: '#000000',
  },
}
SCSS
$custom: #813fb0;
$custom-light: #a978c8;
$custom-dark: #000000;
JSON
{
  "hex": "#813fb0",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 275.044,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50529,
    "c": 0.17637,
    "h": 308.2
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#813FB0
secondary
#A0C388
accent
#D75189
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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