#812285#812285

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

Color values

HEX#812285
RGBrgb(129, 34, 133)
HSLhsl(298, 59%, 33%)
HSVhsv(298, 74%, 52%)
CMYKcmyk(3%, 74.4%, 0%, 47.8%)
CIE-LABlab(32.93, 52.26, -34.58)
CIE-LCHlch(32.93, 62.66, 326.50°)
OKLaboklab(44.45% 0.1438 -0.0961)
OKLCHoklch(44.45% 0.173 326.2)
XYZxyz(13.8587, 7.5056, 22.9045)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812285 #268522
analogous
#502285 #812285 #852257
triadic
#812285 #858122 #228581
tetradic
#812285 #855022 #268522 #225785
square
#812285 #855022 #268522 #225785
split-complementary
#812285 #578522 #228550
monochromatic
#220924 #521654 #812285 #B02EB6 #CD4FD2

Accessibility & contrast

On white

8.40
#812285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#812285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812285
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812285#FFFFFF#000000##FFFFFF
##8122851.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074688
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#843252
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812285;
/* rgb */ color: rgb(129, 34, 133);
/* oklch */ color: oklch(44.5% 0.173 326.2);
Tailwind
colors: {
  custom: {
    50: '#a968a9',
    500: '#812285',
    950: '#000000',
  },
}
SCSS
$custom: #812285;
$custom-light: #a968a9;
$custom-dark: #000000;
JSON
{
  "hex": "#812285",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 297.576,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44454,
    "c": 0.17291,
    "h": 326.2
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#812285
secondary
#51B64D
accent
#E2454C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812285

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

Preview Lab → · Contrast checker → · Palette generator →

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