#812697#812697

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

Color values

HEX#812697
RGBrgb(129, 38, 151)
HSLhsl(288, 60%, 37%)
HSVhsv(288, 75%, 59%)
CMYKcmyk(14.6%, 74.8%, 0%, 40.8%)
CIE-LABlab(34.58, 54.17, -43.03)
CIE-LCHlch(34.58, 69.19, 321.54°)
OKLaboklab(45.99% 0.1387 -0.1208)
OKLCHoklch(45.99% 0.184 319)
XYZxyz(15.3315, 8.2885, 30.0644)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812697 #3C9726
analogous
#492697 #812697 #972674
triadic
#812697 #978126 #269781
tetradic
#812697 #974926 #3C9726 #267497
square
#812697 #974926 #3C9726 #267497
split-complementary
#812697 #749726 #269749
monochromatic
#2D0D35 #571A66 #812697 #AB32C8 #C060D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##812697#FFFFFF#000000##FFFFFF
##8126971.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)
#004B9A
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#813D5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812697;
/* rgb */ color: rgb(129, 38, 151);
/* oklch */ color: oklch(46.0% 0.184 319.0);
Tailwind
colors: {
  custom: {
    50: '#a96ab6',
    500: '#812697',
    950: '#000000',
  },
}
SCSS
$custom: #812697;
$custom-light: #a96ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#812697",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 288.319,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45991,
    "c": 0.18395,
    "h": 319
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#812697
secondary
#6FBC5C
accent
#E34564
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812697

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

Preview Lab → · Contrast checker → · Palette generator →

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