#812595#812595

#812595 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.183 H 319.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#812595
RGBrgb(129, 37, 149)
HSLhsl(289, 60%, 36%)
HSVhsv(289, 75%, 58%)
CMYKcmyk(13.4%, 75.2%, 0%, 41.6%)
CIE-LABlab(34.32, 54.16, -42.23)
CIE-LCHlch(34.32, 68.68, 322.05°)
OKLaboklab(45.76% 0.1399 -0.1184)
OKLCHoklch(45.76% 0.183 319.7)
XYZxyz(15.1390, 8.1609, 29.2057)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812595 #399525
analogous
#492595 #812595 #952571
triadic
#812595 #958125 #259581
tetradic
#812595 #954925 #399525 #257195
square
#812595 #954925 #399525 #257195
split-complementary
#812595 #719525 #259549
monochromatic
#2C0D33 #571964 #812595 #AB31C6 #C15ED7

Accessibility & contrast

On white

7.98
#812595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#812595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812595
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812595#FFFFFF#000000##FFFFFF
##8125951.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#2F5492
Tritanopia (blue-blind)
#813B5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812595;
/* rgb */ color: rgb(129, 37, 149);
/* oklch */ color: oklch(45.8% 0.183 319.7);
Tailwind
colors: {
  custom: {
    50: '#a96ab5',
    500: '#812595',
    950: '#000000',
  },
}
SCSS
$custom: #812595;
$custom-light: #a96ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#812595",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 289.286,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.1833,
    "h": 319.7
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#812595
secondary
#6BBC5A
accent
#E34461
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812595

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

Preview Lab → · Contrast checker → · Palette generator →

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