#81258E#81258E

#81258E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.177 H 322.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#81258E
RGBrgb(129, 37, 142)
HSLhsl(293, 59%, 35%)
HSVhsv(293, 74%, 56%)
CMYKcmyk(9.2%, 73.9%, 0%, 44.3%)
CIE-LABlab(33.87, 52.82, -38.66)
CIE-LCHlch(33.87, 65.45, 323.80°)
OKLaboklab(45.3% 0.1404 -0.108)
OKLCHoklch(45.3% 0.177 322.4)
XYZxyz(14.5968, 7.9441, 26.3505)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81258E #328E25
analogous
#4C258E #81258E #8E2567
triadic
#81258E #8E8125 #258E81
tetradic
#81258E #8E4C25 #328E25 #25678E
square
#81258E #8E4C25 #328E25 #25678E
split-complementary
#81258E #678E25 #258E4C
monochromatic
#290C2D #55185D #81258E #AD32BF #C55AD4

Accessibility & contrast

On white

8.11
#81258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#81258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81258E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81258E#FFFFFF#000000##FFFFFF
##81258E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#833857
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #81258e;
/* rgb */ color: rgb(129, 37, 142);
/* oklch */ color: oklch(45.3% 0.177 322.4);
Tailwind
colors: {
  custom: {
    50: '#a969af',
    500: '#81258e',
    950: '#000000',
  },
}
SCSS
$custom: #81258e;
$custom-light: #a969af;
$custom-dark: #000000;
JSON
{
  "hex": "#81258e",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 292.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.453,
    "c": 0.17715,
    "h": 322.4
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#81258E
secondary
#62B956
accent
#E24659
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #81258E

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

Preview Lab → · Contrast checker → · Palette generator →

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