#812795#812795

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

Color values

HEX#812795
RGBrgb(129, 39, 149)
HSLhsl(289, 59%, 37%)
HSVhsv(289, 74%, 58%)
CMYKcmyk(13.4%, 73.8%, 0%, 41.6%)
CIE-LABlab(34.58, 53.41, -41.81)
CIE-LCHlch(34.58, 67.83, 321.94°)
OKLaboklab(45.95% 0.1379 -0.1172)
OKLCHoklch(45.95% 0.181 319.6)
XYZxyz(15.2029, 8.2888, 29.2271)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812795 #3B9527
analogous
#4A2795 #812795 #952772
triadic
#812795 #958127 #279581
tetradic
#812795 #954A27 #3B9527 #277295
square
#812795 #954A27 #3B9527 #277295
split-complementary
#812795 #729527 #27954A
monochromatic
#2D0E34 #571A64 #812795 #AB34C6 #C061D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##812795#FFFFFF#000000##FFFFFF
##8127951.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)
#004B98
Deuteranopia (green-blind)
#305492
Tritanopia (blue-blind)
#813D5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812795;
/* rgb */ color: rgb(129, 39, 149);
/* oklch */ color: oklch(46.0% 0.181 319.6);
Tailwind
colors: {
  custom: {
    50: '#a96ab5',
    500: '#812795',
    950: '#000000',
  },
}
SCSS
$custom: #812795;
$custom-light: #a96ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#812795",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 289.091,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.18101,
    "h": 319.6
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#812795
secondary
#6EBB5D
accent
#E24662
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812795

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

Preview Lab → · Contrast checker → · Palette generator →

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