#81209B#81209B

#81209B is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.194 H 317.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#81209B
RGBrgb(129, 32, 155)
HSLhsl(287, 66%, 37%)
HSVhsv(287, 79%, 61%)
CMYKcmyk(16.8%, 79.4%, 0%, 39.2%)
CIE-LABlab(34.12, 57.04, -46.20)
CIE-LCHlch(34.12, 73.40, 320.99°)
OKLaboklab(45.76% 0.1437 -0.13)
OKLCHoklch(45.76% 0.194 317.9)
XYZxyz(15.4853, 8.0674, 31.7455)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81209B #3A9B20
analogous
#44209B #81209B #9B2078
triadic
#81209B #9B8120 #209B81
tetradic
#81209B #9B4420 #3A9B20 #20789B
square
#81209B #9B4420 #3A9B20 #20789B
split-complementary
#81209B #789B20 #209B44
monochromatic
#2D0B36 #571668 #81209B #AB2ACE #C159DD

Accessibility & contrast

On white

8.04
#81209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#81209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81209B
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81209B#FFFFFF#000000##FFFFFF
##81209B1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#255398
Tritanopia (blue-blind)
#803C5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #81209b;
/* rgb */ color: rgb(129, 32, 155);
/* oklch */ color: oklch(45.8% 0.194 317.9);
Tailwind
colors: {
  custom: {
    50: '#aa68b9',
    500: '#81209b',
    950: '#000000',
  },
}
SCSS
$custom: #81209b;
$custom-light: #aa68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#81209b",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 287.317,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.19377,
    "h": 317.9
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#81209B
secondary
#6DC156
accent
#E93F63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81209B

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

Preview Lab → · Contrast checker → · Palette generator →

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