#843479#843479

#843479 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.2% C 0.140 H 333.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#843479
RGBrgb(132, 52, 121)
HSLhsl(308, 43%, 36%)
HSVhsv(308, 61%, 52%)
CMYKcmyk(0%, 60.6%, 8.3%, 48.2%)
CIE-LABlab(35.48, 43.36, -23.05)
CIE-LCHlch(35.48, 49.10, 332.01°)
OKLaboklab(46.19% 0.1248 -0.0629)
OKLCHoklch(46.19% 0.14 333.3)
XYZxyz(14.1949, 8.7430, 19.0254)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843479 #34843F
analogous
#673484 #843479 #843451
triadic
#843479 #798434 #347984
tetradic
#843479 #846734 #34843F #345184
square
#843479 #846734 #34843F #345184
split-complementary
#843479 #518434 #348467
monochromatic
#2C1129 #582351 #843479 #B045A1 #C56DB9

Accessibility & contrast

On white

7.64
#843479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#843479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843479
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843479#FFFFFF#000000##FFFFFF
##8434791.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#4B5877
Tritanopia (blue-blind)
#8A3A51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #843479;
/* rgb */ color: rgb(132, 52, 121);
/* oklch */ color: oklch(46.2% 0.140 333.3);
Tailwind
colors: {
  custom: {
    50: '#aa70a0',
    500: '#843479',
    950: '#000000',
  },
}
SCSS
$custom: #843479;
$custom-light: #aa70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#843479",
  "rgb": {
    "r": 132,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 308.25,
    "s": 43.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.13975,
    "h": 333.3
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#843479
secondary
#66AE70
accent
#D36655
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080E
muted
#7F7B7E

Preview Lab

Preview with #843479

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

Preview Lab → · Contrast checker → · Palette generator →

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