#84339B#84339B

#84339B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.173 H 318.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#84339B
RGBrgb(132, 51, 155)
HSLhsl(287, 50%, 40%)
HSVhsv(287, 67%, 61%)
CMYKcmyk(14.8%, 67.1%, 0%, 39.2%)
CIE-LABlab(37.19, 50.31, -41.25)
CIE-LCHlch(37.19, 65.06, 320.65°)
OKLaboklab(48.04% 0.1282 -0.1156)
OKLCHoklch(48.04% 0.173 318)
XYZxyz(16.6151, 9.6404, 31.9896)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84339B #4A9B33
analogous
#50339B #84339B #9B337E
triadic
#84339B #9B8433 #339B84
tetradic
#84339B #9B5033 #4A9B33 #337E9B
square
#84339B #9B5033 #4A9B33 #337E9B
split-complementary
#84339B #7E9B33 #339B50
monochromatic
#36153F #5D246D #84339B #A848C3 #BE76D2

Accessibility & contrast

On white

7.17
#84339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#84339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84339B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84339B#FFFFFF#000000##FFFFFF
##84339B1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09529E
Deuteranopia (green-blind)
#375A99
Tritanopia (blue-blind)
#834663
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #84339b;
/* rgb */ color: rgb(132, 51, 155);
/* oklch */ color: oklch(48.0% 0.173 318.0);
Tailwind
colors: {
  custom: {
    50: '#ab71b9',
    500: '#84339b',
    950: '#000000',
  },
}
SCSS
$custom: #84339b;
$custom-light: #ab71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#84339b",
  "rgb": {
    "r": 132,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 286.731,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48036,
    "c": 0.17262,
    "h": 318
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#84339B
secondary
#80BA6F
accent
#DA4E6D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #84339B

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

Preview Lab → · Contrast checker → · Palette generator →

#84339B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva