#842394#842394

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

Color values

HEX#842394
RGBrgb(132, 35, 148)
HSLhsl(292, 62%, 36%)
HSVhsv(292, 76%, 58%)
CMYKcmyk(10.8%, 76.4%, 0%, 42%)
CIE-LABlab(34.49, 55.31, -41.31)
CIE-LCHlch(34.49, 69.04, 323.24°)
OKLaboklab(45.96% 0.1455 -0.1156)
OKLCHoklch(45.96% 0.186 321.5)
XYZxyz(15.4615, 8.2466, 28.7886)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842394 #339423
analogous
#4B2394 #842394 #94236B
triadic
#842394 #948423 #239484
tetradic
#842394 #944B23 #339423 #236B94
square
#842394 #944B23 #339423 #236B94
split-complementary
#842394 #6B9423 #23944B
monochromatic
#2C0C31 #581763 #842394 #B02FC5 #C65AD8

Accessibility & contrast

On white

7.93
#842394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#842394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842394
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842394#FFFFFF#000000##FFFFFF
##8423941.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#325591
Tritanopia (blue-blind)
#85395A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842394;
/* rgb */ color: rgb(132, 35, 148);
/* oklch */ color: oklch(46.0% 0.186 321.5);
Tailwind
colors: {
  custom: {
    50: '#ab69b4',
    500: '#842394',
    950: '#000000',
  },
}
SCSS
$custom: #842394;
$custom-light: #ab69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#842394",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 291.504,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.18589,
    "h": 321.5
  },
  "luminance": 0.08246
}

Semantic roles & 50–950 ramp

primary
#842394
secondary
#65BC57
accent
#E5435A
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842394

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

Preview Lab → · Contrast checker → · Palette generator →

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