#843FA2#843FA2

#843FA2 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.0% C 0.162 H 314.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#843FA2
RGBrgb(132, 63, 162)
HSLhsl(282, 44%, 44%)
HSVhsv(282, 61%, 64%)
CMYKcmyk(18.5%, 61.1%, 0%, 36.5%)
CIE-LABlab(39.70, 46.06, -41.46)
CIE-LCHlch(39.70, 61.97, 318.01°)
OKLaboklab(49.99% 0.1133 -0.1163)
OKLCHoklch(49.99% 0.162 314.3)
XYZxyz(17.8137, 11.0697, 35.3737)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FA2 #5DA23F
analogous
#533FA2 #843FA2 #A23F8F
triadic
#843FA2 #A2843F #3FA284
tetradic
#843FA2 #A2533F #5DA23F #3F8FA2
square
#843FA2 #A2533F #5DA23F #3F8FA2
split-complementary
#843FA2 #8FA23F #3FA253
monochromatic
#3C1D4A #602E76 #843FA2 #A25EC0 #BC8AD1

Accessibility & contrast

On white

6.53
#843FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#843FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FA2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FA2#FFFFFF#000000##FFFFFF
##843FA21.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#3C5FA0
Tritanopia (blue-blind)
#81516A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #843fa2;
/* rgb */ color: rgb(132, 63, 162);
/* oklch */ color: oklch(50.0% 0.162 314.3);
Tailwind
colors: {
  custom: {
    50: '#ab78be',
    500: '#843fa2',
    950: '#000000',
  },
}
SCSS
$custom: #843fa2;
$custom-light: #ab78be;
$custom-dark: #000000;
JSON
{
  "hex": "#843fa2",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 281.818,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.16235,
    "h": 314.3
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#843FA2
secondary
#93BC81
accent
#D4547B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #843FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#843FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva