#812184#812184

#812184 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.173 H 326.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#812184
RGBrgb(129, 33, 132)
HSLhsl(298, 60%, 32%)
HSVhsv(298, 75%, 52%)
CMYKcmyk(2.3%, 75%, 0%, 48.2%)
CIE-LABlab(32.75, 52.43, -34.25)
CIE-LCHlch(32.75, 62.63, 326.84°)
OKLaboklab(44.3% 0.1448 -0.0951)
OKLCHoklch(44.3% 0.173 326.7)
XYZxyz(13.7617, 7.4217, 22.5330)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812184 #248421
analogous
#502184 #812184 #842155
triadic
#812184 #848121 #218481
tetradic
#812184 #845021 #248421 #215584
square
#812184 #845021 #248421 #215584
split-complementary
#812184 #558421 #218450
monochromatic
#210922 #511553 #812184 #B12DB5 #CE4DD2

Accessibility & contrast

On white

8.45
#812184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#812184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812184
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812184#FFFFFF#000000##FFFFFF
##8121841.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074587
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#853151
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812184;
/* rgb */ color: rgb(129, 33, 132);
/* oklch */ color: oklch(44.3% 0.173 326.7);
Tailwind
colors: {
  custom: {
    50: '#a967a8',
    500: '#812184',
    950: '#000000',
  },
}
SCSS
$custom: #812184;
$custom-light: #a967a8;
$custom-dark: #000000;
JSON
{
  "hex": "#812184",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 298.182,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44304,
    "c": 0.17321,
    "h": 326.7
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#812184
secondary
#4EB64B
accent
#E34549
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812184

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

Preview Lab → · Contrast checker → · Palette generator →

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