#843397#843397

#843397 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.169 H 319.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#843397
RGBrgb(132, 51, 151)
HSLhsl(289, 50%, 40%)
HSVhsv(289, 66%, 59%)
CMYKcmyk(12.6%, 66.2%, 0%, 40.8%)
CIE-LABlab(36.95, 49.49, -39.22)
CIE-LCHlch(36.95, 63.15, 321.61°)
OKLaboklab(47.78% 0.1283 -0.1096)
OKLCHoklch(47.78% 0.169 319.5)
XYZxyz(16.2847, 9.5083, 30.2497)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843397 #469733
analogous
#523397 #843397 #973378
triadic
#843397 #978433 #339784
tetradic
#843397 #975233 #469733 #337897
square
#843397 #975233 #469733 #337897
split-complementary
#843397 #789733 #339752
monochromatic
#34143C #5C2469 #843397 #A947C1 #BF74D0

Accessibility & contrast

On white

7.24
#843397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#843397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843397
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843397#FFFFFF#000000##FFFFFF
##8433971.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#844460
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #843397;
/* rgb */ color: rgb(132, 51, 151);
/* oklch */ color: oklch(47.8% 0.169 319.5);
Tailwind
colors: {
  custom: {
    50: '#ab71b6',
    500: '#843397',
    950: '#000000',
  },
}
SCSS
$custom: #843397;
$custom-light: #ab71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#843397",
  "rgb": {
    "r": 132,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 288.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47781,
    "c": 0.16877,
    "h": 319.5
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#843397
secondary
#7CB86D
accent
#D94F69
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #843397

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

Preview Lab → · Contrast checker → · Palette generator →

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