#843BA2#843BA2

#843BA2 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.5% C 0.168 H 314.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#843BA2
RGBrgb(132, 59, 162)
HSLhsl(283, 47%, 43%)
HSVhsv(283, 64%, 64%)
CMYKcmyk(18.5%, 63.6%, 0%, 36.5%)
CIE-LABlab(38.97, 48.04, -42.62)
CIE-LCHlch(38.97, 64.22, 318.42°)
OKLaboklab(49.46% 0.1184 -0.1196)
OKLCHoklch(49.46% 0.168 314.7)
XYZxyz(17.6002, 10.6427, 35.3025)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BA2 #59A23B
analogous
#503BA2 #843BA2 #A23B8C
triadic
#843BA2 #A2843B #3BA284
tetradic
#843BA2 #A2503B #59A23B #3B8CA2
square
#843BA2 #A2503B #59A23B #3B8CA2
split-complementary
#843BA2 #8CA23B #3BA250
monochromatic
#3B1A48 #5F2B75 #843BA2 #A358C2 #BC85D3

Accessibility & contrast

On white

6.71
#843BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#843BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BA2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BA2#FFFFFF#000000##FFFFFF
##843BA21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A5
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#824E69
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #843ba2;
/* rgb */ color: rgb(132, 59, 162);
/* oklch */ color: oklch(49.5% 0.168 314.7);
Tailwind
colors: {
  custom: {
    50: '#ab76be',
    500: '#843ba2',
    950: '#000000',
  },
}
SCSS
$custom: #843ba2;
$custom-light: #ab76be;
$custom-dark: #000000;
JSON
{
  "hex": "#843ba2",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 282.524,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.1683,
    "h": 314.7
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#843BA2
secondary
#8FBD7C
accent
#D65278
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #843BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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