#812499#812499

#812499 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.188 H 318.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#812499
RGBrgb(129, 36, 153)
HSLhsl(288, 62%, 37%)
HSVhsv(288, 76%, 60%)
CMYKcmyk(15.7%, 76.5%, 0%, 40%)
CIE-LABlab(34.46, 55.29, -44.45)
CIE-LCHlch(34.46, 70.94, 321.21°)
OKLaboklab(45.95% 0.1404 -0.1249)
OKLCHoklch(45.95% 0.188 318.3)
XYZxyz(15.4331, 8.2295, 30.9063)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812499 #3C9924
analogous
#462499 #812499 #992477
triadic
#812499 #998124 #249981
tetradic
#812499 #994624 #3C9924 #247799
square
#812499 #994624 #3C9924 #247799
split-complementary
#812499 #779924 #249946
monochromatic
#2D0D36 #571867 #812499 #AB30CB #C05ED9

Accessibility & contrast

On white

7.94
#812499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#812499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812499
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812499#FFFFFF#000000##FFFFFF
##8124991.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#2A5496
Tritanopia (blue-blind)
#803D5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812499;
/* rgb */ color: rgb(129, 36, 153);
/* oklch */ color: oklch(45.9% 0.188 318.3);
Tailwind
colors: {
  custom: {
    50: '#a969b8',
    500: '#812499',
    950: '#000000',
  },
}
SCSS
$custom: #812499;
$custom-light: #a969b8;
$custom-dark: #000000;
JSON
{
  "hex": "#812499",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 287.692,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.18794,
    "h": 318.3
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#812499
secondary
#6FBE5B
accent
#E54364
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812499

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

Preview Lab → · Contrast checker → · Palette generator →

#812499 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva