#812189#812189

#812189 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.177 H 324.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#812189
RGBrgb(129, 33, 137)
HSLhsl(295, 61%, 33%)
HSVhsv(295, 76%, 54%)
CMYKcmyk(5.8%, 75.9%, 0%, 46.3%)
CIE-LABlab(33.05, 53.32, -36.87)
CIE-LCHlch(33.05, 64.83, 325.34°)
OKLaboklab(44.62% 0.1446 -0.1027)
OKLCHoklch(44.62% 0.177 324.6)
XYZxyz(14.1121, 7.5619, 24.3783)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812189 #298921
analogous
#4D2189 #812189 #89215D
triadic
#812189 #898121 #218981
tetradic
#812189 #894D21 #298921 #215D89
square
#812189 #894D21 #298921 #215D89
split-complementary
#812189 #5D8921 #21894D
monochromatic
#240926 #531558 #812189 #AF2DBA #CB50D5

Accessibility & contrast

On white

8.36
#812189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#812189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812189
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812189#FFFFFF#000000##FFFFFF
##8121891.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#365287
Tritanopia (blue-blind)
#843454
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812189;
/* rgb */ color: rgb(129, 33, 137);
/* oklch */ color: oklch(44.6% 0.177 324.6);
Tailwind
colors: {
  custom: {
    50: '#a967ac',
    500: '#812189',
    950: '#000000',
  },
}
SCSS
$custom: #812189;
$custom-light: #a967ac;
$custom-dark: #000000;
JSON
{
  "hex": "#812189",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 295.385,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4462,
    "c": 0.17738,
    "h": 324.6
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#812189
secondary
#56B84E
accent
#E44450
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812189

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

Preview Lab → · Contrast checker → · Palette generator →

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