#81399D#81399D

#81399D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.5% C 0.165 H 315.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#81399D
RGBrgb(129, 57, 157)
HSLhsl(283, 47%, 42%)
HSVhsv(283, 64%, 62%)
CMYKcmyk(17.8%, 63.7%, 0%, 38.4%)
CIE-LABlab(37.89, 47.19, -41.36)
CIE-LCHlch(37.89, 62.75, 318.77°)
OKLaboklab(48.49% 0.1171 -0.116)
OKLCHoklch(48.49% 0.165 315.3)
XYZxyz(16.6012, 10.0283, 32.9529)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81399D #559D39
analogous
#4F399D #81399D #9D3987
triadic
#81399D #9D8139 #399D81
tetradic
#81399D #9D4F39 #559D39 #39879D
square
#81399D #9D4F39 #559D39 #39879D
split-complementary
#81399D #879D39 #399D4F
monochromatic
#371843 #5C2970 #81399D #A253C0 #BA80D1

Accessibility & contrast

On white

6.99
#81399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#81399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #81399D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81399D#FFFFFF#000000##FFFFFF
##81399D1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A0
Deuteranopia (green-blind)
#385B9B
Tritanopia (blue-blind)
#7F4B66
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #81399d;
/* rgb */ color: rgb(129, 57, 157);
/* oklch */ color: oklch(48.5% 0.165 315.3);
Tailwind
colors: {
  custom: {
    50: '#a874ba',
    500: '#81399d',
    950: '#000000',
  },
}
SCSS
$custom: #81399d;
$custom-light: #a874ba;
$custom-dark: #000000;
JSON
{
  "hex": "#81399d",
  "rgb": {
    "r": 129,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 283.2,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.16483,
    "h": 315.3
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#81399D
secondary
#8ABA78
accent
#D65177
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #81399D

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

Preview Lab → · Contrast checker → · Palette generator →

#81399D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva