#812088#812088

#812088 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.178 H 325.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#812088
RGBrgb(129, 32, 136)
HSLhsl(296, 62%, 33%)
HSVhsv(296, 76%, 53%)
CMYKcmyk(5.1%, 76.5%, 0%, 46.7%)
CIE-LABlab(32.87, 53.49, -36.54)
CIE-LCHlch(32.87, 64.77, 325.66°)
OKLaboklab(44.47% 0.1456 -0.1018)
OKLCHoklch(44.47% 0.178 325)
XYZxyz(14.0134, 7.4786, 23.9932)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812088 #278820
analogous
#4D2088 #812088 #88205B
triadic
#812088 #888120 #208881
tetradic
#812088 #884D20 #278820 #205B88
square
#812088 #884D20 #278820 #205B88
split-complementary
#812088 #5B8820 #20884D
monochromatic
#230925 #521456 #812088 #B02CBA #CC4DD5

Accessibility & contrast

On white

8.41
#812088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#812088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812088
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812088#FFFFFF#000000##FFFFFF
##8120881.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#365186
Tritanopia (blue-blind)
#843353
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812088;
/* rgb */ color: rgb(129, 32, 136);
/* oklch */ color: oklch(44.5% 0.178 325.0);
Tailwind
colors: {
  custom: {
    50: '#a967ab',
    500: '#812088',
    950: '#000000',
  },
}
SCSS
$custom: #812088;
$custom-light: #a967ab;
$custom-dark: #000000;
JSON
{
  "hex": "#812088",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 295.962,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.17763,
    "h": 325
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#812088
secondary
#53B84C
accent
#E5434E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812088

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

Preview Lab → · Contrast checker → · Palette generator →

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