#842089#842089

#842089 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.180 H 325.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#842089
RGBrgb(132, 32, 137)
HSLhsl(297, 62%, 33%)
HSVhsv(297, 77%, 54%)
CMYKcmyk(3.6%, 76.6%, 0%, 46.3%)
CIE-LABlab(33.45, 54.32, -36.21)
CIE-LCHlch(33.45, 65.28, 326.31°)
OKLaboklab(45% 0.149 -0.1007)
OKLCHoklch(45% 0.18 325.9)
XYZxyz(14.5473, 7.7457, 24.3909)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842089 #258920
analogous
#4F2089 #842089 #892059
triadic
#842089 #898420 #208984
tetradic
#842089 #894F20 #258920 #205989
square
#842089 #894F20 #258920 #205989
split-complementary
#842089 #598920 #20894F
monochromatic
#240926 #541457 #842089 #B42CBB #CF4ED6

Accessibility & contrast

On white

8.24
#842089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#842089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842089
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842089#FFFFFF#000000##FFFFFF
##8420891.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#385386
Tritanopia (blue-blind)
#873253
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842089;
/* rgb */ color: rgb(132, 32, 137);
/* oklch */ color: oklch(45.0% 0.180 325.9);
Tailwind
colors: {
  custom: {
    50: '#ab67ac',
    500: '#842089',
    950: '#000000',
  },
}
SCSS
$custom: #842089;
$custom-light: #ab67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#842089",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 297.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45,
    "c": 0.17986,
    "h": 325.9
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#842089
secondary
#51B94C
accent
#E5434A
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842089

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

Preview Lab → · Contrast checker → · Palette generator →

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