#843399#843399

#843399 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.171 H 318.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#843399
RGBrgb(132, 51, 153)
HSLhsl(288, 50%, 40%)
HSVhsv(288, 67%, 60%)
CMYKcmyk(13.7%, 66.7%, 0%, 40%)
CIE-LABlab(37.07, 49.90, -40.24)
CIE-LCHlch(37.07, 64.10, 321.12°)
OKLaboklab(47.91% 0.1283 -0.1126)
OKLCHoklch(47.91% 0.171 318.7)
XYZxyz(16.4485, 9.5738, 31.1123)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843399 #489933
analogous
#513399 #843399 #99337B
triadic
#843399 #998433 #339984
tetradic
#843399 #995133 #489933 #337B99
square
#843399 #995133 #489933 #337B99
split-complementary
#843399 #7B9933 #339951
monochromatic
#35143D #5C246B #843399 #A947C2 #BE75D1

Accessibility & contrast

On white

7.21
#843399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#843399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843399
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843399#FFFFFF#000000##FFFFFF
##8433991.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F529C
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#844561
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #843399;
/* rgb */ color: rgb(132, 51, 153);
/* oklch */ color: oklch(47.9% 0.171 318.7);
Tailwind
colors: {
  custom: {
    50: '#ab71b7',
    500: '#843399',
    950: '#000000',
  },
}
SCSS
$custom: #843399;
$custom-light: #ab71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#843399",
  "rgb": {
    "r": 132,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 287.647,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.47908,
    "c": 0.17069,
    "h": 318.7
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#843399
secondary
#7EB96E
accent
#DA4E6B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #843399

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

Preview Lab → · Contrast checker → · Palette generator →

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