#812295#812295

#812295 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.187 H 319.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#812295
RGBrgb(129, 34, 149)
HSLhsl(290, 63%, 36%)
HSVhsv(290, 77%, 58%)
CMYKcmyk(13.4%, 77.2%, 0%, 41.6%)
CIE-LABlab(33.95, 55.22, -42.83)
CIE-LCHlch(33.95, 69.88, 322.20°)
OKLaboklab(45.5% 0.1427 -0.1202)
OKLCHoklch(45.5% 0.187 319.9)
XYZxyz(15.0494, 7.9819, 29.1759)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812295 #369522
analogous
#472295 #812295 #95226F
triadic
#812295 #958122 #229581
tetradic
#812295 #954722 #369522 #226F95
square
#812295 #954722 #369522 #226F95
split-complementary
#812295 #6F9522 #229547
monochromatic
#2B0B31 #561763 #812295 #AC2DC7 #C358D9

Accessibility & contrast

On white

8.09
#812295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#812295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812295
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812295#FFFFFF#000000##FFFFFF
##8122951.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#2D5392
Tritanopia (blue-blind)
#813A5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812295;
/* rgb */ color: rgb(129, 34, 149);
/* oklch */ color: oklch(45.5% 0.187 319.9);
Tailwind
colors: {
  custom: {
    50: '#a968b5',
    500: '#812295',
    950: '#000000',
  },
}
SCSS
$custom: #812295;
$custom-light: #a968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#812295",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 289.565,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.18656,
    "h": 319.9
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#812295
secondary
#68BD56
accent
#E6425E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812295

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

Preview Lab → · Contrast checker → · Palette generator →

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