#842088#842088

#842088 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.179 H 326.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#842088
RGBrgb(132, 32, 136)
HSLhsl(298, 62%, 33%)
HSVhsv(298, 76%, 53%)
CMYKcmyk(2.9%, 76.5%, 0%, 46.7%)
CIE-LABlab(33.39, 54.14, -35.69)
CIE-LCHlch(33.39, 64.85, 326.61°)
OKLaboklab(44.94% 0.149 -0.0992)
OKLCHoklch(44.94% 0.179 326.4)
XYZxyz(14.4759, 7.7171, 24.0149)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842088 #248820
analogous
#502088 #842088 #882058
triadic
#842088 #888420 #208884
tetradic
#842088 #885020 #248820 #205888
square
#842088 #885020 #248820 #205888
split-complementary
#842088 #588820 #208850
monochromatic
#240925 #541456 #842088 #B42CBA #D04DD5

Accessibility & contrast

On white

8.26
#842088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#842088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842088
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842088#FFFFFF#000000##FFFFFF
##8420881.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478B
Deuteranopia (green-blind)
#395385
Tritanopia (blue-blind)
#883253
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842088;
/* rgb */ color: rgb(132, 32, 136);
/* oklch */ color: oklch(44.9% 0.179 326.4);
Tailwind
colors: {
  custom: {
    50: '#ab67ab',
    500: '#842088',
    950: '#000000',
  },
}
SCSS
$custom: #842088;
$custom-light: #ab67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#842088",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 297.692,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44937,
    "c": 0.17904,
    "h": 326.4
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#842088
secondary
#50B84C
accent
#E54349
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842088

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

Preview Lab → · Contrast checker → · Palette generator →

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