#843CA2#843CA2

#843CA2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.6% C 0.167 H 314.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#843CA2
RGBrgb(132, 60, 162)
HSLhsl(282, 46%, 44%)
HSVhsv(282, 63%, 64%)
CMYKcmyk(18.5%, 63%, 0%, 36.5%)
CIE-LABlab(39.15, 47.55, -42.33)
CIE-LCHlch(39.15, 63.67, 318.32°)
OKLaboklab(49.59% 0.1171 -0.1188)
OKLCHoklch(49.59% 0.167 314.6)
XYZxyz(17.6521, 10.7464, 35.3198)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CA2 #5AA23C
analogous
#513CA2 #843CA2 #A23C8D
triadic
#843CA2 #A2843C #3CA284
tetradic
#843CA2 #A2513C #5AA23C #3C8DA2
square
#843CA2 #A2513C #5AA23C #3C8DA2
split-complementary
#843CA2 #8DA23C #3CA251
monochromatic
#3B1B49 #602B75 #843CA2 #A359C2 #BC86D2

Accessibility & contrast

On white

6.67
#843CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#843CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CA2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CA2#FFFFFF#000000##FFFFFF
##843CA21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#824F69
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #843ca2;
/* rgb */ color: rgb(132, 60, 162);
/* oklch */ color: oklch(49.6% 0.167 314.6);
Tailwind
colors: {
  custom: {
    50: '#ab76be',
    500: '#843ca2',
    950: '#000000',
  },
}
SCSS
$custom: #843ca2;
$custom-light: #ab76be;
$custom-dark: #000000;
JSON
{
  "hex": "#843ca2",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 282.353,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4959,
    "c": 0.16684,
    "h": 314.6
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#843CA2
secondary
#90BC7D
accent
#D65279
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #843CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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