#81248D#81248D

#81248D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.177 H 322.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#81248D
RGBrgb(129, 36, 141)
HSLhsl(293, 59%, 35%)
HSVhsv(293, 74%, 55%)
CMYKcmyk(8.5%, 74.5%, 0%, 44.7%)
CIE-LABlab(33.67, 53.00, -38.35)
CIE-LCHlch(33.67, 65.42, 324.11°)
OKLaboklab(45.14% 0.1415 -0.1071)
OKLCHoklch(45.14% 0.177 322.9)
XYZxyz(14.4914, 7.8528, 25.9466)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81248D #308D24
analogous
#4D248D #81248D #8D2465
triadic
#81248D #8D8124 #248D81
tetradic
#81248D #8D4D24 #308D24 #24658D
square
#81248D #8D4D24 #308D24 #24658D
split-complementary
#81248D #658D24 #248D4D
monochromatic
#280B2B #54185C #81248D #AE30BE #C657D4

Accessibility & contrast

On white

8.17
#81248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#81248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81248D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81248D#FFFFFF#000000##FFFFFF
##81248D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81248d;
/* rgb */ color: rgb(129, 36, 141);
/* oklch */ color: oklch(45.1% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#a969af',
    500: '#81248d',
    950: '#000000',
  },
}
SCSS
$custom: #81248d;
$custom-light: #a969af;
$custom-dark: #000000;
JSON
{
  "hex": "#81248d",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 293.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.17743,
    "h": 322.9
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#81248D
secondary
#60B854
accent
#E34557
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #81248D

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

Preview Lab → · Contrast checker → · Palette generator →

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