#811789#811789

#811789 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.187 H 324.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#811789
RGBrgb(129, 23, 137)
HSLhsl(296, 71%, 31%)
HSVhsv(296, 83%, 54%)
CMYKcmyk(5.8%, 83.2%, 0%, 46.3%)
CIE-LABlab(32.00, 56.35, -38.55)
CIE-LCHlch(32.00, 68.28, 325.63°)
OKLaboklab(43.88% 0.153 -0.1076)
OKLCHoklch(43.88% 0.187 324.9)
XYZxyz(13.8747, 7.0870, 24.2992)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811789 #1F8917
analogous
#481789 #811789 #891758
triadic
#811789 #898117 #178981
tetradic
#811789 #894817 #1F8917 #175889
square
#811789 #894817 #1F8917 #175889
split-complementary
#811789 #588917 #178948
monochromatic
#1E0520 #500E55 #811789 #B220BD #D33CDE

Accessibility & contrast

On white

8.69
#811789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#811789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811789
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811789#FFFFFF#000000##FFFFFF
##8117891.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#842E51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811789;
/* rgb */ color: rgb(129, 23, 137);
/* oklch */ color: oklch(43.9% 0.187 324.9);
Tailwind
colors: {
  custom: {
    50: '#a964ac',
    500: '#811789',
    950: '#000000',
  },
}
SCSS
$custom: #811789;
$custom-light: #a964ac;
$custom-dark: #000000;
JSON
{
  "hex": "#811789",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 295.789,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.18699,
    "h": 324.9
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#811789
secondary
#48BD3F
accent
#EE3A46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811789

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

Preview Lab → · Contrast checker → · Palette generator →

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