#842488#842488

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

Color values

HEX#842488
RGBrgb(132, 36, 136)
HSLhsl(298, 58%, 34%)
HSVhsv(298, 74%, 53%)
CMYKcmyk(2.9%, 73.5%, 0%, 46.7%)
CIE-LABlab(33.87, 52.76, -34.92)
CIE-LCHlch(33.87, 63.27, 326.50°)
OKLaboklab(45.28% 0.1452 -0.097)
OKLCHoklch(45.28% 0.175 326.3)
XYZxyz(14.5903, 7.9458, 24.0530)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842488 #288824
analogous
#522488 #842488 #88245A
triadic
#842488 #888424 #248884
tetradic
#842488 #885224 #288824 #245A88
square
#842488 #885224 #288824 #245A88
split-complementary
#842488 #5A8824 #248852
monochromatic
#260A27 #551758 #842488 #B331B8 #CD55D2

Accessibility & contrast

On white

8.11
#842488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#842488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842488
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842488#FFFFFF#000000##FFFFFF
##8424881.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B488B
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#883454
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842488;
/* rgb */ color: rgb(132, 36, 136);
/* oklch */ color: oklch(45.3% 0.175 326.3);
Tailwind
colors: {
  custom: {
    50: '#ab69ab',
    500: '#842488',
    950: '#000000',
  },
}
SCSS
$custom: #842488;
$custom-light: #ab69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#842488",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 297.6,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.17461,
    "h": 326.3
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#842488
secondary
#56B652
accent
#E1464D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842488

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

Preview Lab → · Contrast checker → · Palette generator →

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