#81298D#81298D

#81298D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.171 H 322.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#81298D
RGBrgb(129, 41, 141)
HSLhsl(293, 55%, 36%)
HSVhsv(293, 71%, 55%)
CMYKcmyk(8.5%, 70.9%, 0%, 44.7%)
CIE-LABlab(34.35, 51.08, -37.27)
CIE-LCHlch(34.35, 63.24, 323.88°)
OKLaboklab(45.63% 0.1363 -0.104)
OKLCHoklch(45.63% 0.171 322.7)
XYZxyz(14.6534, 8.1769, 26.0006)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81298D #358D29
analogous
#4F298D #81298D #8D2967
triadic
#81298D #8D8129 #298D81
tetradic
#81298D #8D4F29 #358D29 #29678D
square
#81298D #8D4F29 #358D29 #29678D
split-complementary
#81298D #678D29 #298D4F
monochromatic
#2A0D2E #561B5E #81298D #AC37BC #C360D1

Accessibility & contrast

On white

7.97
#81298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#81298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81298D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81298D#FFFFFF#000000##FFFFFF
##81298D1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074A90
Deuteranopia (green-blind)
#38548B
Tritanopia (blue-blind)
#833A58
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #81298d;
/* rgb */ color: rgb(129, 41, 141);
/* oklch */ color: oklch(45.6% 0.171 322.7);
Tailwind
colors: {
  custom: {
    50: '#a96baf',
    500: '#81298d',
    950: '#000000',
  },
}
SCSS
$custom: #81298d;
$custom-light: #a96baf;
$custom-dark: #000000;
JSON
{
  "hex": "#81298d",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 292.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.17141,
    "h": 322.7
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#81298D
secondary
#66B65B
accent
#DE4A5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #81298D

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

Preview Lab → · Contrast checker → · Palette generator →

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