#81107B#81107B

#81107B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.182 H 330.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#81107B
RGBrgb(129, 16, 123)
HSLhsl(303, 78%, 28%)
HSVhsv(303, 88%, 51%)
CMYKcmyk(0%, 87.6%, 4.7%, 49.4%)
CIE-LABlab(30.57, 55.66, -32.08)
CIE-LCHlch(30.57, 64.25, 330.05°)
OKLaboklab(42.58% 0.1585 -0.0887)
OKLCHoklch(42.58% 0.182 330.8)
XYZxyz(12.8137, 6.4688, 19.3088)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81107B #108116
analogous
#4E1081 #81107B #811042
triadic
#81107B #7B8110 #107B81
tetradic
#81107B #814E10 #108116 #104281
square
#81107B #814E10 #108116 #104281
split-complementary
#81107B #428110 #10814E
monochromatic
#1B031A #4B0947 #81107B #B717AF #E427DA

Accessibility & contrast

On white

9.16
#81107B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#81107B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81107B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81107B#FFFFFF#000000##FFFFFF
##81107B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#862348
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81107b;
/* rgb */ color: rgb(129, 16, 123);
/* oklch */ color: oklch(42.6% 0.182 330.8);
Tailwind
colors: {
  custom: {
    50: '#a961a1',
    500: '#81107b',
    950: '#000000',
  },
}
SCSS
$custom: #81107b;
$custom-light: #a961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81107b",
  "rgb": {
    "r": 129,
    "g": 16,
    "b": 123
  },
  "hsl": {
    "h": 303.186,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42577,
    "c": 0.18163,
    "h": 330.8
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#81107B
secondary
#36B73D
accent
#F43E33
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81107B

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

Preview Lab → · Contrast checker → · Palette generator →

#81107B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva