#812286#812286

#812286 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.174 H 325.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#812286
RGBrgb(129, 34, 134)
HSLhsl(297, 60%, 33%)
HSVhsv(297, 75%, 53%)
CMYKcmyk(3.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(32.99, 52.44, -35.11)
CIE-LCHlch(32.99, 63.10, 326.20°)
OKLaboklab(44.52% 0.1438 -0.0976)
OKLCHoklch(44.52% 0.174 325.8)
XYZxyz(13.9281, 7.5333, 23.2701)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812286 #278622
analogous
#4F2286 #812286 #862259
triadic
#812286 #868122 #228681
tetradic
#812286 #864F22 #278622 #225986
square
#812286 #864F22 #278622 #225986
split-complementary
#812286 #598622 #22864F
monochromatic
#230924 #521655 #812286 #B02EB7 #CC50D3

Accessibility & contrast

On white

8.38
#812286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812286
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812286#FFFFFF#000000##FFFFFF
##8122861.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054689
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#843352
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812286;
/* rgb */ color: rgb(129, 34, 134);
/* oklch */ color: oklch(44.5% 0.174 325.8);
Tailwind
colors: {
  custom: {
    50: '#a968aa',
    500: '#812286',
    950: '#000000',
  },
}
SCSS
$custom: #812286;
$custom-light: #a968aa;
$custom-dark: #000000;
JSON
{
  "hex": "#812286",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 297,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44517,
    "c": 0.17375,
    "h": 325.8
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#812286
secondary
#53B64E
accent
#E3454D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812286

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

Preview Lab → · Contrast checker → · Palette generator →

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