#843799#843799

#843799 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 318.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#843799
RGBrgb(132, 55, 153)
HSLhsl(287, 47%, 41%)
HSVhsv(287, 64%, 60%)
CMYKcmyk(13.7%, 64.1%, 0%, 40%)
CIE-LABlab(37.73, 48.06, -39.18)
CIE-LCHlch(37.73, 62.00, 320.81°)
OKLaboklab(48.39% 0.1234 -0.1095)
OKLCHoklch(48.39% 0.165 318.4)
XYZxyz(16.6309, 9.9385, 31.1731)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843799 #4C9937
analogous
#533799 #843799 #99377D
triadic
#843799 #998437 #379984
tetradic
#843799 #995337 #4C9937 #377D99
square
#843799 #995337 #4C9937 #377D99
split-complementary
#843799 #7D9937 #379953
monochromatic
#36173F #5D276C #843799 #A74EBF #BD7BD0

Accessibility & contrast

On white

7.03
#843799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#843799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843799
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843799#FFFFFF#000000##FFFFFF
##8437991.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#3C5B97
Tritanopia (blue-blind)
#844863
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #843799;
/* rgb */ color: rgb(132, 55, 153);
/* oklch */ color: oklch(48.4% 0.165 318.4);
Tailwind
colors: {
  custom: {
    50: '#ab73b7',
    500: '#843799',
    950: '#000000',
  },
}
SCSS
$custom: #843799;
$custom-light: #ab73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#843799",
  "rgb": {
    "r": 132,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 287.143,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48388,
    "c": 0.16501,
    "h": 318.4
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#843799
secondary
#82B973
accent
#D7516E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #843799

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

Preview Lab → · Contrast checker → · Palette generator →

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