#842293#842293

#842293 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.186 H 321.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#842293
RGBrgb(132, 34, 147)
HSLhsl(292, 62%, 35%)
HSVhsv(292, 77%, 58%)
CMYKcmyk(10.2%, 76.9%, 0%, 42.4%)
CIE-LABlab(34.31, 55.46, -40.99)
CIE-LCHlch(34.31, 68.97, 323.53°)
OKLaboklab(45.81% 0.1465 -0.1147)
OKLCHoklch(45.81% 0.186 321.9)
XYZxyz(15.3536, 8.1570, 28.3639)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842293 #319322
analogous
#4B2293 #842293 #93226A
triadic
#842293 #938422 #229384
tetradic
#842293 #934B22 #319322 #226A93
square
#842293 #934B22 #319322 #226A93
split-complementary
#842293 #6A9322 #22934B
monochromatic
#2B0B30 #571761 #842293 #B12DC5 #C757D8

Accessibility & contrast

On white

7.98
#842293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#842293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842293
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842293#FFFFFF#000000##FFFFFF
##8422931.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#325490
Tritanopia (blue-blind)
#853859
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842293;
/* rgb */ color: rgb(132, 34, 147);
/* oklch */ color: oklch(45.8% 0.186 321.9);
Tailwind
colors: {
  custom: {
    50: '#ab69b3',
    500: '#842293',
    950: '#000000',
  },
}
SCSS
$custom: #842293;
$custom-light: #ab69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#842293",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 292.035,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.18609,
    "h": 321.9
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#842293
secondary
#62BC55
accent
#E54258
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842293

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

Preview Lab → · Contrast checker → · Palette generator →

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