#813AC8#813AC8

#813AC8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.208 H 302.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#813AC8
RGBrgb(129, 58, 200)
HSLhsl(270, 56%, 51%)
HSVhsv(270, 71%, 78%)
CMYKcmyk(35.5%, 71%, 0%, 21.6%)
CIE-LABlab(41.00, 56.54, -61.79)
CIE-LCHlch(41.00, 83.76, 312.46°)
OKLaboklab(51.65% 0.1117 -0.176)
OKLCHoklch(51.65% 0.208 302.4)
XYZxyz(20.9892, 11.8633, 55.8165)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AC8 #81C83A
analogous
#3A3AC8 #813AC8 #C83AC8
triadic
#813AC8 #C8813A #3AC881
tetradic
#813AC8 #C83A3A #81C83A #3AC8C8
square
#813AC8 #C83A3A #81C83A #3AC8C8
split-complementary
#813AC8 #C8C83A #3AC83A
monochromatic
#441E6A #622B9A #813AC8 #A06AD5 #BE9AE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##813AC8#FFFFFF#000000##FFFFFF
##813AC81.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)
#0060CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#725C7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813ac8;
/* rgb */ color: rgb(129, 58, 200);
/* oklch */ color: oklch(51.7% 0.208 302.4);
Tailwind
colors: {
  custom: {
    50: '#ab76da',
    500: '#813ac8',
    950: '#000000',
  },
}
SCSS
$custom: #813ac8;
$custom-light: #ab76da;
$custom-dark: #000000;
JSON
{
  "hex": "#813ac8",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51651,
    "c": 0.20848,
    "h": 302.4
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#813AC8
secondary
#AFCE8F
accent
#E04894
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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