#843097#843097

#843097 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.173 H 319.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#843097
RGBrgb(132, 48, 151)
HSLhsl(289, 52%, 39%)
HSVhsv(289, 68%, 59%)
CMYKcmyk(12.6%, 68.2%, 0%, 40.8%)
CIE-LABlab(36.47, 50.82, -39.98)
CIE-LCHlch(36.47, 64.66, 321.81°)
OKLaboklab(47.44% 0.1318 -0.1118)
OKLCHoklch(47.44% 0.173 319.7)
XYZxyz(16.1579, 9.2546, 30.2074)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843097 #439730
analogous
#513097 #843097 #973077
triadic
#843097 #978430 #309784
tetradic
#843097 #975130 #439730 #307797
square
#843097 #975130 #439730 #307797
split-complementary
#843097 #779730 #309751
monochromatic
#33123A #5B2169 #843097 #AB41C3 #C070D2

Accessibility & contrast

On white

7.37
#843097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#843097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843097
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843097#FFFFFF#000000##FFFFFF
##8430971.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09509A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#84425F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #843097;
/* rgb */ color: rgb(132, 48, 151);
/* oklch */ color: oklch(47.4% 0.173 319.7);
Tailwind
colors: {
  custom: {
    50: '#ab6fb6',
    500: '#843097',
    950: '#000000',
  },
}
SCSS
$custom: #843097;
$custom-light: #ab6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#843097",
  "rgb": {
    "r": 132,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 288.932,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47439,
    "c": 0.17287,
    "h": 319.7
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#843097
secondary
#78B96A
accent
#DB4D67
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #843097

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

Preview Lab → · Contrast checker → · Palette generator →

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