#81159F#81159F

#81159F is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.3% C 0.206 H 317.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#81159F
RGBrgb(129, 21, 159)
HSLhsl(287, 77%, 35%)
HSVhsv(287, 87%, 62%)
CMYKcmyk(18.9%, 86.8%, 0%, 37.6%)
CIE-LABlab(33.37, 60.85, -49.85)
CIE-LCHlch(33.37, 78.66, 320.67°)
OKLaboklab(45.32% 0.1507 -0.1407)
OKLCHoklch(45.32% 0.206 317)
XYZxyz(15.5785, 7.7074, 33.4612)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81159F #339F15
analogous
#3C159F #81159F #9F1578
triadic
#81159F #9F8115 #159F81
tetradic
#81159F #9F3C15 #339F15 #15789F
square
#81159F #9F3C15 #339F15 #15789F
split-complementary
#81159F #789F15 #159F3C
monochromatic
#290733 #550E69 #81159F #AD1CD5 #C448E7

Accessibility & contrast

On white

8.26
#81159F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#81159F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81159F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81159F#FFFFFF#000000##FFFFFF
##81159F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#7F395E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #81159f;
/* rgb */ color: rgb(129, 21, 159);
/* oklch */ color: oklch(45.3% 0.206 317.0);
Tailwind
colors: {
  custom: {
    50: '#aa64bc',
    500: '#81159f',
    950: '#000000',
  },
}
SCSS
$custom: #81159f;
$custom-light: #aa64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#81159f",
  "rgb": {
    "r": 129,
    "g": 21,
    "b": 159
  },
  "hsl": {
    "h": 286.957,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45316,
    "c": 0.20617,
    "h": 317
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#81159F
secondary
#64C848
accent
#F3355E
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #81159F

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

Preview Lab → · Contrast checker → · Palette generator →

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