#813FA2#813FA2

#813FA2 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.6% C 0.161 H 312.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#813FA2
RGBrgb(129, 63, 162)
HSLhsl(280, 44%, 44%)
HSVhsv(280, 61%, 64%)
CMYKcmyk(20.4%, 61.1%, 0%, 36.5%)
CIE-LABlab(39.29, 45.30, -42.13)
CIE-LCHlch(39.29, 61.86, 317.08°)
OKLaboklab(49.61% 0.1094 -0.1183)
OKLCHoklch(49.61% 0.161 312.8)
XYZxyz(17.3512, 10.8312, 35.3520)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FA2 #60A23F
analogous
#503FA2 #813FA2 #A23F92
triadic
#813FA2 #A2813F #3FA281
tetradic
#813FA2 #A2503F #60A23F #3F92A2
square
#813FA2 #A2503F #60A23F #3F92A2
split-complementary
#813FA2 #92A23F #3FA250
monochromatic
#3B1D4A #5E2E76 #813FA2 #A05EC0 #BA8AD1

Accessibility & contrast

On white

6.63
#813FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#813FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FA2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FA2#FFFFFF#000000##FFFFFF
##813FA21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#7E516A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #813fa2;
/* rgb */ color: rgb(129, 63, 162);
/* oklch */ color: oklch(49.6% 0.161 312.8);
Tailwind
colors: {
  custom: {
    50: '#a878be',
    500: '#813fa2',
    950: '#000000',
  },
}
SCSS
$custom: #813fa2;
$custom-light: #a878be;
$custom-dark: #000000;
JSON
{
  "hex": "#813fa2",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 280,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.16116,
    "h": 312.8
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#813FA2
secondary
#94BC81
accent
#D4547F
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #813FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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