#812599#812599

#812599 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.187 H 318.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#812599
RGBrgb(129, 37, 153)
HSLhsl(288, 61%, 37%)
HSVhsv(288, 76%, 60%)
CMYKcmyk(15.7%, 75.8%, 0%, 40%)
CIE-LABlab(34.58, 54.93, -44.24)
CIE-LCHlch(34.58, 70.54, 321.15°)
OKLaboklab(46.04% 0.1395 -0.1243)
OKLCHoklch(46.04% 0.187 318.3)
XYZxyz(15.4638, 8.2909, 30.9166)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812599 #3D9925
analogous
#472599 #812599 #992577
triadic
#812599 #998125 #259981
tetradic
#812599 #994725 #3D9925 #257799
square
#812599 #994725 #3D9925 #257799
split-complementary
#812599 #779925 #259947
monochromatic
#2E0D36 #571968 #812599 #AB31CA #C060D9

Accessibility & contrast

On white

7.90
#812599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#812599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812599
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812599#FFFFFF#000000##FFFFFF
##8125991.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812599;
/* rgb */ color: rgb(129, 37, 153);
/* oklch */ color: oklch(46.0% 0.187 318.3);
Tailwind
colors: {
  custom: {
    50: '#a96ab8',
    500: '#812599',
    950: '#000000',
  },
}
SCSS
$custom: #812599;
$custom-light: #a96ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#812599",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 287.586,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46037,
    "c": 0.18685,
    "h": 318.3
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#812599
secondary
#70BE5C
accent
#E44465
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812599

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

Preview Lab → · Contrast checker → · Palette generator →

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