#842484#842484

#842484 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.171 H 328.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#842484
RGBrgb(132, 36, 132)
HSLhsl(300, 57%, 33%)
HSVhsv(300, 73%, 52%)
CMYKcmyk(0%, 72.7%, 0%, 48.2%)
CIE-LABlab(33.64, 52.06, -32.81)
CIE-LCHlch(33.64, 61.53, 327.78°)
OKLaboklab(45.04% 0.1452 -0.0909)
OKLCHoklch(45.04% 0.171 328)
XYZxyz(14.3113, 7.8343, 22.5837)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842484 #248424
analogous
#542484 #842484 #842454
triadic
#842484 #848424 #248484
tetradic
#842484 #845424 #248424 #245484
square
#842484 #845424 #248424 #245484
split-complementary
#842484 #548424 #248454
monochromatic
#240A24 #541754 #842484 #B431B4 #D052D0

Accessibility & contrast

On white

8.18
#842484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#842484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842484
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842484#FFFFFF#000000##FFFFFF
##8424841.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134787
Deuteranopia (green-blind)
#3D5382
Tritanopia (blue-blind)
#883252
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842484;
/* rgb */ color: rgb(132, 36, 132);
/* oklch */ color: oklch(45.0% 0.171 328.0);
Tailwind
colors: {
  custom: {
    50: '#ab69a8',
    500: '#842484',
    950: '#000000',
  },
}
SCSS
$custom: #842484;
$custom-light: #ab69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#842484",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 300,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.17129,
    "h": 328
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#842484
secondary
#50B450
accent
#E04747
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #842484

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

Preview Lab → · Contrast checker → · Palette generator →

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