#842389#842389

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

Color values

HEX#842389
RGBrgb(132, 35, 137)
HSLhsl(297, 59%, 34%)
HSVhsv(297, 74%, 54%)
CMYKcmyk(3.6%, 74.5%, 0%, 46.3%)
CIE-LABlab(33.80, 53.30, -35.64)
CIE-LCHlch(33.80, 64.12, 326.23°)
OKLaboklab(45.26% 0.1462 -0.0991)
OKLCHoklch(45.26% 0.177 325.9)
XYZxyz(14.6318, 7.9147, 24.4191)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842389 #288923
analogous
#512389 #842389 #89235B
triadic
#842389 #898423 #238984
tetradic
#842389 #895123 #288923 #235B89
square
#842389 #895123 #288923 #235B89
split-complementary
#842389 #5B8923 #238951
monochromatic
#260A28 #551758 #842389 #B32FBA #CD53D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842389#FFFFFF#000000##FFFFFF
##8423891.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)
#05488C
Deuteranopia (green-blind)
#3A5487
Tritanopia (blue-blind)
#873454
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842389;
/* rgb */ color: rgb(132, 35, 137);
/* oklch */ color: oklch(45.3% 0.177 325.9);
Tailwind
colors: {
  custom: {
    50: '#ab69ac',
    500: '#842389',
    950: '#000000',
  },
}
SCSS
$custom: #842389;
$custom-light: #ab69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#842389",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 297.059,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.17658,
    "h": 325.9
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#842389
secondary
#56B751
accent
#E2454D
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842389

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

Preview Lab → · Contrast checker → · Palette generator →

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