#812890#812890

#812890 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.175 H 321.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#812890
RGBrgb(129, 40, 144)
HSLhsl(291, 57%, 36%)
HSVhsv(291, 72%, 56%)
CMYKcmyk(10.4%, 72.2%, 0%, 43.5%)
CIE-LABlab(34.39, 52.05, -39.04)
CIE-LCHlch(34.39, 65.07, 323.13°)
OKLaboklab(45.72% 0.1372 -0.1091)
OKLCHoklch(45.72% 0.175 321.5)
XYZxyz(14.8455, 8.1991, 27.1808)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812890 #379028
analogous
#4D2890 #812890 #90286B
triadic
#812890 #908128 #289081
tetradic
#812890 #904D28 #379028 #286B90
square
#812890 #904D28 #379028 #286B90
split-complementary
#812890 #6B9028 #28904D
monochromatic
#2B0D30 #561B60 #812890 #AC35C0 #C260D3

Accessibility & contrast

On white

7.96
#812890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#812890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812890
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812890#FFFFFF#000000##FFFFFF
##8128901.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#35548E
Tritanopia (blue-blind)
#823B59
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812890;
/* rgb */ color: rgb(129, 40, 144);
/* oklch */ color: oklch(45.7% 0.175 321.5);
Tailwind
colors: {
  custom: {
    50: '#a96bb1',
    500: '#812890',
    950: '#000000',
  },
}
SCSS
$custom: #812890;
$custom-light: #a96bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#812890",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 291.346,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.17533,
    "h": 321.5
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#812890
secondary
#69B85C
accent
#E0485E
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812890

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

Preview Lab → · Contrast checker → · Palette generator →

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