#813FD2#813FD2

#813FD2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.213 H 299.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#813FD2
RGBrgb(129, 63, 210)
HSLhsl(267, 62%, 54%)
HSVhsv(267, 70%, 82%)
CMYKcmyk(38.6%, 70%, 0%, 17.6%)
CIE-LABlab(42.57, 56.65, -65.01)
CIE-LCHlch(42.57, 86.23, 311.07°)
OKLaboklab(53.01% 0.1051 -0.1855)
OKLCHoklch(53.01% 0.213 299.5)
XYZxyz(22.4607, 12.8750, 62.2621)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FD2 #90D23F
analogous
#3F46D2 #813FD2 #CA3FD2
triadic
#813FD2 #D2813F #3FD281
tetradic
#813FD2 #D23F46 #90D23F #3FD2CA
square
#813FD2 #D23F46 #90D23F #3FD2CA
split-complementary
#813FD2 #D2CA3F #46D23F
monochromatic
#471D7A #6328AC #813FD2 #A271DE #C2A2E9

Accessibility & contrast

On white

5.87
#813FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#813FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FD2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FD2#FFFFFF#000000##FFFFFF
##813FD21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#6E6384
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813fd2;
/* rgb */ color: rgb(129, 63, 210);
/* oklch */ color: oklch(53.0% 0.213 299.5);
Tailwind
colors: {
  custom: {
    50: '#ac79e1',
    500: '#813fd2',
    950: '#000000',
  },
}
SCSS
$custom: #813fd2;
$custom-light: #ac79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#813fd2",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 266.939,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.21321,
    "h": 299.5
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#813FD2
secondary
#BAD697
accent
#E5439C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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