#81258F#81258F

#81258F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.178 H 322.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#81258F
RGBrgb(129, 37, 143)
HSLhsl(292, 59%, 35%)
HSVhsv(292, 74%, 56%)
CMYKcmyk(9.8%, 74.1%, 0%, 43.9%)
CIE-LABlab(33.93, 53.01, -39.17)
CIE-LCHlch(33.93, 65.91, 323.53°)
OKLaboklab(45.37% 0.1404 -0.1095)
OKLCHoklch(45.37% 0.178 322)
XYZxyz(14.6722, 7.9743, 26.7476)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81258F #338F25
analogous
#4C258F #81258F #8F2568
triadic
#81258F #8F8125 #258F81
tetradic
#81258F #8F4C25 #338F25 #25688F
square
#81258F #8F4C25 #338F25 #25688F
split-complementary
#81258F #688F25 #258F4C
monochromatic
#290C2E #55185E #81258F #AD32C0 #C45AD4

Accessibility & contrast

On white

8.09
#81258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81258F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81258F#FFFFFF#000000##FFFFFF
##81258F1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#34538D
Tritanopia (blue-blind)
#833958
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #81258f;
/* rgb */ color: rgb(129, 37, 143);
/* oklch */ color: oklch(45.4% 0.178 322.0);
Tailwind
colors: {
  custom: {
    50: '#a969b0',
    500: '#81258f',
    950: '#000000',
  },
}
SCSS
$custom: #81258f;
$custom-light: #a969b0;
$custom-dark: #000000;
JSON
{
  "hex": "#81258f",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 292.075,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.17802,
    "h": 322
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#81258F
secondary
#64B957
accent
#E2465A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #81258F

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

Preview Lab → · Contrast checker → · Palette generator →

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