#842399#842399

#842399 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.190 H 319.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#842399
RGBrgb(132, 35, 153)
HSLhsl(289, 63%, 37%)
HSVhsv(289, 77%, 60%)
CMYKcmyk(13.7%, 77.1%, 0%, 40%)
CIE-LABlab(34.82, 56.26, -43.84)
CIE-LCHlch(34.82, 71.32, 322.07°)
OKLaboklab(46.3% 0.145 -0.123)
OKLCHoklch(46.3% 0.19 319.7)
XYZxyz(15.8658, 8.4083, 30.9181)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842399 #389923
analogous
#492399 #842399 #992373
triadic
#842399 #998423 #239984
tetradic
#842399 #994923 #389923 #237399
square
#842399 #994923 #389923 #237399
split-complementary
#842399 #739923 #239949
monochromatic
#2E0C35 #591867 #842399 #AF2ECB #C45DDA

Accessibility & contrast

On white

7.83
#842399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#842399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842399
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842399#FFFFFF#000000##FFFFFF
##8423991.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#2D5596
Tritanopia (blue-blind)
#843C5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842399;
/* rgb */ color: rgb(132, 35, 153);
/* oklch */ color: oklch(46.3% 0.190 319.7);
Tailwind
colors: {
  custom: {
    50: '#ac69b8',
    500: '#842399',
    950: '#000000',
  },
}
SCSS
$custom: #842399;
$custom-light: #ac69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#842399",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 289.322,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46302,
    "c": 0.19019,
    "h": 319.7
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#842399
secondary
#6BBE59
accent
#E6425F
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842399

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

Preview Lab → · Contrast checker → · Palette generator →

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