#812293#812293

#812293 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.185 H 320.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#812293
RGBrgb(129, 34, 147)
HSLhsl(290, 62%, 35%)
HSVhsv(290, 77%, 58%)
CMYKcmyk(12.2%, 76.9%, 0%, 42.4%)
CIE-LABlab(33.81, 54.84, -41.81)
CIE-LCHlch(33.81, 68.96, 322.67°)
OKLaboklab(45.37% 0.1429 -0.1172)
OKLCHoklch(45.37% 0.185 320.6)
XYZxyz(14.8911, 7.9186, 28.3422)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812293 #349322
analogous
#482293 #812293 #93226D
triadic
#812293 #938122 #229381
tetradic
#812293 #934822 #349322 #226D93
square
#812293 #934822 #349322 #226D93
split-complementary
#812293 #6D9322 #229348
monochromatic
#2A0B30 #551761 #812293 #AD2DC5 #C457D8

Accessibility & contrast

On white

8.13
#812293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#812293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812293
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812293#FFFFFF#000000##FFFFFF
##8122931.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#823959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #812293;
/* rgb */ color: rgb(129, 34, 147);
/* oklch */ color: oklch(45.4% 0.185 320.6);
Tailwind
colors: {
  custom: {
    50: '#a968b3',
    500: '#812293',
    950: '#000000',
  },
}
SCSS
$custom: #812293;
$custom-light: #a968b3;
$custom-dark: #000000;
JSON
{
  "hex": "#812293",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 290.442,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.18483,
    "h": 320.6
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#812293
secondary
#65BC55
accent
#E5425C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812293

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

Preview Lab → · Contrast checker → · Palette generator →

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