#813BCF#813BCF

#813BCF is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.215 H 300.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#813BCF
RGBrgb(129, 59, 207)
HSLhsl(268, 61%, 52%)
HSVhsv(268, 71%, 81%)
CMYKcmyk(37.7%, 71.5%, 0%, 18.8%)
CIE-LABlab(41.69, 57.76, -64.72)
CIE-LCHlch(41.69, 86.75, 311.75°)
OKLaboklab(52.31% 0.1095 -0.1846)
OKLCHoklch(52.31% 0.215 300.7)
XYZxyz(21.8769, 12.2999, 60.2409)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BCF #89CF3B
analogous
#3B3FCF #813BCF #CB3BCF
triadic
#813BCF #CF813B #3BCF81
tetradic
#813BCF #CF3B3F #89CF3B #3BCFCB
square
#813BCF #CF3B3F #89CF3B #3BCFCB
split-complementary
#813BCF #CFCB3B #3FCF3B
monochromatic
#451C73 #6328A5 #813BCF #A16CDB #C09DE7

Accessibility & contrast

On white

6.07
#813BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#813BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BCF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BCF#FFFFFF#000000##FFFFFF
##813BCF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#705F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813bcf;
/* rgb */ color: rgb(129, 59, 207);
/* oklch */ color: oklch(52.3% 0.215 300.7);
Tailwind
colors: {
  custom: {
    50: '#ac77df',
    500: '#813bcf',
    950: '#000000',
  },
}
SCSS
$custom: #813bcf;
$custom-light: #ac77df;
$custom-dark: #000000;
JSON
{
  "hex": "#813bcf",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 268.378,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.21466,
    "h": 300.7
  },
  "luminance": 0.123
}

Semantic roles & 50–950 ramp

primary
#813BCF
secondary
#B5D393
accent
#E44498
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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