#842598#842598

#842598 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.187 H 320.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#842598
RGBrgb(132, 37, 152)
HSLhsl(290, 61%, 37%)
HSVhsv(290, 76%, 60%)
CMYKcmyk(13.2%, 75.7%, 0%, 40.4%)
CIE-LABlab(35.00, 55.37, -42.94)
CIE-LCHlch(35.00, 70.07, 322.20°)
OKLaboklab(46.41% 0.1433 -0.1204)
OKLCHoklch(46.41% 0.187 320)
XYZxyz(15.8441, 8.4965, 30.5051)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842598 #399825
analogous
#4A2598 #842598 #982573
triadic
#842598 #988425 #259884
tetradic
#842598 #984A25 #399825 #257398
square
#842598 #984A25 #399825 #257398
split-complementary
#842598 #739825 #25984A
monochromatic
#2F0D36 #591967 #842598 #AF31C9 #C35FD8

Accessibility & contrast

On white

7.78
#842598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#842598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842598
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842598#FFFFFF#000000##FFFFFF
##8425981.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#305695
Tritanopia (blue-blind)
#843C5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842598;
/* rgb */ color: rgb(132, 37, 152);
/* oklch */ color: oklch(46.4% 0.187 320.0);
Tailwind
colors: {
  custom: {
    50: '#ab6ab7',
    500: '#842598',
    950: '#000000',
  },
}
SCSS
$custom: #842598;
$custom-light: #ab6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#842598",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 289.565,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.18719,
    "h": 320
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#842598
secondary
#6DBD5C
accent
#E44460
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842598

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

Preview Lab → · Contrast checker → · Palette generator →

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