#81248E#81248E

#81248E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.178 H 322.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#81248E
RGBrgb(129, 36, 142)
HSLhsl(293, 60%, 35%)
HSVhsv(293, 75%, 56%)
CMYKcmyk(9.2%, 74.6%, 0%, 44.3%)
CIE-LABlab(33.74, 53.19, -38.86)
CIE-LCHlch(33.74, 65.87, 323.84°)
OKLaboklab(45.21% 0.1414 -0.1086)
OKLCHoklch(45.21% 0.178 322.5)
XYZxyz(14.5661, 7.8827, 26.3402)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81248E #318E24
analogous
#4C248E #81248E #8E2466
triadic
#81248E #8E8124 #248E81
tetradic
#81248E #8E4C24 #318E24 #24668E
square
#81248E #8E4C24 #318E24 #24668E
split-complementary
#81248E #668E24 #248E4C
monochromatic
#280B2C #55185D #81248E #AD30BF #C558D5

Accessibility & contrast

On white

8.15
#81248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#81248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81248E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81248E#FFFFFF#000000##FFFFFF
##81248E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81248e;
/* rgb */ color: rgb(129, 36, 142);
/* oklch */ color: oklch(45.2% 0.178 322.5);
Tailwind
colors: {
  custom: {
    50: '#a969af',
    500: '#81248e',
    950: '#000000',
  },
}
SCSS
$custom: #81248e;
$custom-light: #a969af;
$custom-dark: #000000;
JSON
{
  "hex": "#81248e",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 292.642,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.1783,
    "h": 322.5
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#81248E
secondary
#61B955
accent
#E34558
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #81248E

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

Preview Lab → · Contrast checker → · Palette generator →

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