#81308F#81308F

#81308F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.164 H 321.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#81308F
RGBrgb(129, 48, 143)
HSLhsl(291, 50%, 37%)
HSVhsv(291, 66%, 56%)
CMYKcmyk(9.8%, 66.4%, 0%, 43.9%)
CIE-LABlab(35.53, 48.50, -36.62)
CIE-LCHlch(35.53, 60.78, 322.95°)
OKLaboklab(46.51% 0.1282 -0.1021)
OKLCHoklch(46.51% 0.164 321.5)
XYZxyz(15.0676, 8.7650, 26.8794)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81308F #3E8F30
analogous
#52308F #81308F #8F306D
triadic
#81308F #8F8130 #308F81
tetradic
#81308F #8F5230 #3E8F30 #306D8F
square
#81308F #8F5230 #3E8F30 #306D8F
split-complementary
#81308F #6D8F30 #308F52
monochromatic
#2E1133 #582161 #81308F #AA3FBD #BF6CCE

Accessibility & contrast

On white

7.63
#81308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#81308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81308F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81308F#FFFFFF#000000##FFFFFF
##81308F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#82405B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #81308f;
/* rgb */ color: rgb(129, 48, 143);
/* oklch */ color: oklch(46.5% 0.164 321.5);
Tailwind
colors: {
  custom: {
    50: '#a86fb0',
    500: '#81308f',
    950: '#000000',
  },
}
SCSS
$custom: #81308f;
$custom-light: #a86fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#81308f",
  "rgb": {
    "r": 129,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 291.158,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.16391,
    "h": 321.5
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#81308F
secondary
#72B566
accent
#D94F63
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #81308F

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

Preview Lab → · Contrast checker → · Palette generator →

#81308F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva