#843498#843498

#843498 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.168 H 319.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#843498
RGBrgb(132, 52, 152)
HSLhsl(288, 49%, 40%)
HSVhsv(288, 66%, 60%)
CMYKcmyk(13.2%, 65.8%, 0%, 40.4%)
CIE-LABlab(37.17, 49.24, -39.47)
CIE-LCHlch(37.17, 63.11, 321.29°)
OKLaboklab(47.96% 0.1271 -0.1104)
OKLCHoklch(47.96% 0.168 319)
XYZxyz(16.4105, 9.6292, 30.6939)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843498 #489834
analogous
#523498 #843498 #98347A
triadic
#843498 #988434 #349884
tetradic
#843498 #985234 #489834 #347A98
square
#843498 #985234 #489834 #347A98
split-complementary
#843498 #7A9834 #349852
monochromatic
#35153D #5C246A #843498 #A949C1 #BE76D0

Accessibility & contrast

On white

7.18
#843498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#843498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843498
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843498#FFFFFF#000000##FFFFFF
##8434981.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#844561
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #843498;
/* rgb */ color: rgb(132, 52, 152);
/* oklch */ color: oklch(48.0% 0.168 319.0);
Tailwind
colors: {
  custom: {
    50: '#ab71b7',
    500: '#843498',
    950: '#000000',
  },
}
SCSS
$custom: #843498;
$custom-light: #ab71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#843498",
  "rgb": {
    "r": 132,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 288,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.47962,
    "c": 0.16833,
    "h": 319
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#843498
secondary
#7EB96F
accent
#D94F6B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #843498

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

Preview Lab → · Contrast checker → · Palette generator →

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