#812FA3#812FA3

#812FA3 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.184 H 314.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#812FA3
RGBrgb(129, 47, 163)
HSLhsl(282, 55%, 41%)
HSVhsv(282, 71%, 64%)
CMYKcmyk(20.9%, 71.2%, 0%, 36.1%)
CIE-LABlab(36.64, 53.03, -46.98)
CIE-LCHlch(36.64, 70.85, 318.46°)
OKLaboklab(47.72% 0.1283 -0.1324)
OKLCHoklch(47.72% 0.184 314.1)
XYZxyz(16.6795, 9.3450, 35.5684)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FA3 #51A32F
analogous
#472FA3 #812FA3 #A32F8B
triadic
#812FA3 #A3812F #2FA381
tetradic
#812FA3 #A3472F #51A32F #2F8BA3
square
#812FA3 #A3472F #51A32F #2F8BA3
split-complementary
#812FA3 #8BA32F #2FA347
monochromatic
#361444 #5B2173 #812FA3 #A346CA #BA75D7

Accessibility & contrast

On white

7.32
#812FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#812FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812FA3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FA3#FFFFFF#000000##FFFFFF
##812FA31.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2858A0
Tritanopia (blue-blind)
#7E4766
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #812fa3;
/* rgb */ color: rgb(129, 47, 163);
/* oklch */ color: oklch(47.7% 0.184 314.1);
Tailwind
colors: {
  custom: {
    50: '#a96fbf',
    500: '#812fa3',
    950: '#000000',
  },
}
SCSS
$custom: #812fa3;
$custom-light: #a96fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#812fa3",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 282.414,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.1844,
    "h": 314.1
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#812FA3
secondary
#86BF6F
accent
#DF4975
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #812FA3

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

Preview Lab → · Contrast checker → · Palette generator →

#812FA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva