#81258D#81258D

#81258D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.176 H 322.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#81258D
RGBrgb(129, 37, 141)
HSLhsl(293, 58%, 35%)
HSVhsv(293, 74%, 55%)
CMYKcmyk(8.5%, 73.8%, 0%, 44.7%)
CIE-LABlab(33.80, 52.63, -38.14)
CIE-LCHlch(33.80, 65.00, 324.07°)
OKLaboklab(45.24% 0.1405 -0.1065)
OKLCHoklch(45.24% 0.176 322.8)
XYZxyz(14.5221, 7.9142, 25.9568)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81258D #318D25
analogous
#4D258D #81258D #8D2565
triadic
#81258D #8D8125 #258D81
tetradic
#81258D #8D4D25 #318D25 #25658D
square
#81258D #8D4D25 #318D25 #25658D
split-complementary
#81258D #658D25 #258D4D
monochromatic
#280C2C #55185D #81258D #AD32BD #C559D3

Accessibility & contrast

On white

8.13
#81258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#81258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81258D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81258D#FFFFFF#000000##FFFFFF
##81258D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#833857
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #81258d;
/* rgb */ color: rgb(129, 37, 141);
/* oklch */ color: oklch(45.2% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#a969af',
    500: '#81258d',
    950: '#000000',
  },
}
SCSS
$custom: #81258d;
$custom-light: #a969af;
$custom-dark: #000000;
JSON
{
  "hex": "#81258d",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 293.077,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.17627,
    "h": 322.8
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#81258D
secondary
#61B856
accent
#E24658
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #81258D

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

Preview Lab → · Contrast checker → · Palette generator →

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