#812495#812495

#812495 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.184 H 319.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#812495
RGBrgb(129, 36, 149)
HSLhsl(289, 61%, 36%)
HSVhsv(289, 76%, 58%)
CMYKcmyk(13.4%, 75.8%, 0%, 41.6%)
CIE-LABlab(34.19, 54.52, -42.43)
CIE-LCHlch(34.19, 69.08, 322.10°)
OKLaboklab(45.67% 0.1409 -0.119)
OKLCHoklch(45.67% 0.184 319.8)
XYZxyz(15.1083, 8.0996, 29.1955)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812495 #389524
analogous
#492495 #812495 #952471
triadic
#812495 #958124 #249581
tetradic
#812495 #954924 #389524 #247195
square
#812495 #954924 #389524 #247195
split-complementary
#812495 #719524 #249549
monochromatic
#2C0C32 #561864 #812495 #AC30C6 #C25CD8

Accessibility & contrast

On white

8.02
#812495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#812495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812495
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812495#FFFFFF#000000##FFFFFF
##8124951.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#2E5492
Tritanopia (blue-blind)
#813B5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812495;
/* rgb */ color: rgb(129, 36, 149);
/* oklch */ color: oklch(45.7% 0.184 319.8);
Tailwind
colors: {
  custom: {
    50: '#a969b5',
    500: '#812495',
    950: '#000000',
  },
}
SCSS
$custom: #812495;
$custom-light: #a969b5;
$custom-dark: #000000;
JSON
{
  "hex": "#812495",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 289.381,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.18441,
    "h": 319.8
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#812495
secondary
#6ABC59
accent
#E44460
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812495

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

Preview Lab → · Contrast checker → · Palette generator →

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