#81229C#81229C

#81229C is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.193 H 317.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#81229C
RGBrgb(129, 34, 156)
HSLhsl(287, 64%, 37%)
HSVhsv(287, 78%, 61%)
CMYKcmyk(17.3%, 78.2%, 0%, 38.8%)
CIE-LABlab(34.42, 56.57, -46.33)
CIE-LCHlch(34.42, 73.12, 320.69°)
OKLaboklab(45.99% 0.1418 -0.1304)
OKLCHoklch(45.99% 0.193 317.4)
XYZxyz(15.6252, 8.2122, 32.2081)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81229C #3D9C22
analogous
#44229C #81229C #9C227A
triadic
#81229C #9C8122 #229C81
tetradic
#81229C #9C4422 #3D9C22 #227A9C
square
#81229C #9C4422 #3D9C22 #227A9C
split-complementary
#81229C #7A9C22 #229C44
monochromatic
#2E0C38 #57176A #81229C #AB2DCE #C05DDC

Accessibility & contrast

On white

7.95
#81229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#81229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81229C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81229C#FFFFFF#000000##FFFFFF
##81229C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#255499
Tritanopia (blue-blind)
#803D5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #81229c;
/* rgb */ color: rgb(129, 34, 156);
/* oklch */ color: oklch(46.0% 0.193 317.4);
Tailwind
colors: {
  custom: {
    50: '#aa69ba',
    500: '#81229c',
    950: '#000000',
  },
}
SCSS
$custom: #81229c;
$custom-light: #aa69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#81229c",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 286.721,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45989,
    "c": 0.19266,
    "h": 317.4
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#81229C
secondary
#70C05A
accent
#E74165
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81229C

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

Preview Lab → · Contrast checker → · Palette generator →

#81229C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva