#842391#842391

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

Color values

HEX#842391
RGBrgb(132, 35, 145)
HSLhsl(293, 61%, 35%)
HSVhsv(293, 76%, 57%)
CMYKcmyk(9%, 75.9%, 0%, 43.1%)
CIE-LABlab(34.30, 54.75, -39.78)
CIE-LCHlch(34.30, 67.68, 324.00°)
OKLaboklab(45.77% 0.1458 -0.1112)
OKLCHoklch(45.77% 0.183 322.7)
XYZxyz(15.2271, 8.1528, 27.5542)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842391 #309123
analogous
#4D2391 #842391 #912367
triadic
#842391 #918423 #239184
tetradic
#842391 #914D23 #309123 #236791
square
#842391 #914D23 #309123 #236791
split-complementary
#842391 #679123 #23914D
monochromatic
#2A0B2E #571760 #842391 #B12FC2 #C858D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842391#FFFFFF#000000##FFFFFF
##8423911.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)
#004A94
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#863859
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842391;
/* rgb */ color: rgb(132, 35, 145);
/* oklch */ color: oklch(45.8% 0.183 322.7);
Tailwind
colors: {
  custom: {
    50: '#ab69b2',
    500: '#842391',
    950: '#000000',
  },
}
SCSS
$custom: #842391;
$custom-light: #ab69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#842391",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 292.909,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.18333,
    "h": 322.7
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#842391
secondary
#61BB55
accent
#E44457
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842391

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

Preview Lab → · Contrast checker → · Palette generator →

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