#813BD2#813BD2

#813BD2 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.218 H 300.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#813BD2
RGBrgb(129, 59, 210)
HSLhsl(268, 63%, 53%)
HSVhsv(268, 72%, 82%)
CMYKcmyk(38.6%, 71.9%, 0%, 17.6%)
CIE-LABlab(41.92, 58.49, -66.08)
CIE-LCHlch(41.92, 88.25, 311.51°)
OKLaboklab(52.54% 0.1089 -0.1886)
OKLCHoklch(52.54% 0.218 300)
XYZxyz(22.2472, 12.4480, 62.1909)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BD2 #8CD23B
analogous
#3B40D2 #813BD2 #CD3BD2
triadic
#813BD2 #D2813B #3BD281
tetradic
#813BD2 #D23B40 #8CD23B #3BD2CD
square
#813BD2 #D23B40 #8CD23B #3BD2CD
split-complementary
#813BD2 #D2CD3B #40D23B
monochromatic
#461B77 #6327A9 #813BD2 #A16DDD #C19FE9

Accessibility & contrast

On white

6.02
#813BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#813BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BD2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BD2#FFFFFF#000000##FFFFFF
##813BD21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#6E6183
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813bd2;
/* rgb */ color: rgb(129, 59, 210);
/* oklch */ color: oklch(52.5% 0.218 300.0);
Tailwind
colors: {
  custom: {
    50: '#ac77e1',
    500: '#813bd2',
    950: '#000000',
  },
}
SCSS
$custom: #813bd2;
$custom-light: #ac77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#813bd2",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 267.815,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.21781,
    "h": 300
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#813BD2
secondary
#B7D594
accent
#E6429A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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