#843098#843098

#843098 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.174 H 319.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#843098
RGBrgb(132, 48, 152)
HSLhsl(288, 52%, 39%)
HSVhsv(288, 68%, 60%)
CMYKcmyk(13.2%, 68.4%, 0%, 40.4%)
CIE-LABlab(36.53, 51.02, -40.48)
CIE-LCHlch(36.53, 65.13, 321.57°)
OKLaboklab(47.5% 0.1318 -0.1133)
OKLCHoklch(47.5% 0.174 319.3)
XYZxyz(16.2394, 9.2872, 30.6369)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843098 #449830
analogous
#503098 #843098 #983078
triadic
#843098 #988430 #309884
tetradic
#843098 #985030 #449830 #307898
square
#843098 #985030 #449830 #307898
split-complementary
#843098 #789830 #309850
monochromatic
#33133B #5C2169 #843098 #AA42C3 #BF70D2

Accessibility & contrast

On white

7.35
#843098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#843098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843098
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843098#FFFFFF#000000##FFFFFF
##8430981.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509B
Deuteranopia (green-blind)
#375995
Tritanopia (blue-blind)
#844360
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #843098;
/* rgb */ color: rgb(132, 48, 152);
/* oklch */ color: oklch(47.5% 0.174 319.3);
Tailwind
colors: {
  custom: {
    50: '#ab6fb7',
    500: '#843098',
    950: '#000000',
  },
}
SCSS
$custom: #843098;
$custom-light: #ab6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#843098",
  "rgb": {
    "r": 132,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 288.462,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.17381,
    "h": 319.3
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#843098
secondary
#79BA6A
accent
#DB4C68
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #843098

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

Preview Lab → · Contrast checker → · Palette generator →

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