#812E90#812E90

#812E90 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 321.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#812E90
RGBrgb(129, 46, 144)
HSLhsl(291, 52%, 37%)
HSVhsv(291, 68%, 56%)
CMYKcmyk(10.4%, 68.1%, 0%, 43.5%)
CIE-LABlab(35.27, 49.58, -37.64)
CIE-LCHlch(35.27, 62.25, 322.79°)
OKLaboklab(46.35% 0.1306 -0.1051)
OKLCHoklch(46.35% 0.168 321.2)
XYZxyz(15.0637, 8.6355, 27.2535)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E90 #3D902E
analogous
#502E90 #812E90 #902E6E
triadic
#812E90 #90812E #2E9081
tetradic
#812E90 #90502E #3D902E #2E6E90
square
#812E90 #90502E #3D902E #2E6E90
split-complementary
#812E90 #6E902E #2E9050
monochromatic
#2E1033 #571F62 #812E90 #AB3DBE #C069CF

Accessibility & contrast

On white

7.70
#812E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#812E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E90
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E90#FFFFFF#000000##FFFFFF
##812E901.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D93
Deuteranopia (green-blind)
#39568E
Tritanopia (blue-blind)
#823F5B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #812e90;
/* rgb */ color: rgb(129, 46, 144);
/* oklch */ color: oklch(46.3% 0.168 321.2);
Tailwind
colors: {
  custom: {
    50: '#a96eb1',
    500: '#812e90',
    950: '#000000',
  },
}
SCSS
$custom: #812e90;
$custom-light: #a96eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#812e90",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 290.816,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46347,
    "c": 0.16761,
    "h": 321.2
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#812E90
secondary
#70B664
accent
#DB4D63
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812E90

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

Preview Lab → · Contrast checker → · Palette generator →

#812E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva