#843AC8#843AC8

#843AC8 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.209 H 303.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#843AC8
RGBrgb(132, 58, 200)
HSLhsl(271, 56%, 51%)
HSVhsv(271, 71%, 78%)
CMYKcmyk(34%, 71%, 0%, 21.6%)
CIE-LABlab(41.38, 57.11, -61.16)
CIE-LCHlch(41.38, 83.68, 313.04°)
OKLaboklab(52% 0.1159 -0.174)
OKLCHoklch(52% 0.209 303.7)
XYZxyz(21.4517, 12.1018, 55.8381)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AC8 #7EC83A
analogous
#3D3AC8 #843AC8 #C83AC5
triadic
#843AC8 #C8843A #3AC884
tetradic
#843AC8 #C83D3A #7EC83A #3AC5C8
square
#843AC8 #C83D3A #7EC83A #3AC5C8
split-complementary
#843AC8 #C5C83A #3AC83D
monochromatic
#451E6A #652B9A #843AC8 #A26AD5 #C09AE3

Accessibility & contrast

On white

6.14
#843AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#843AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AC8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AC8#FFFFFF#000000##FFFFFF
##843AC81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#775C7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843ac8;
/* rgb */ color: rgb(132, 58, 200);
/* oklch */ color: oklch(52.0% 0.209 303.7);
Tailwind
colors: {
  custom: {
    50: '#ad76da',
    500: '#843ac8',
    950: '#000000',
  },
}
SCSS
$custom: #843ac8;
$custom-light: #ad76da;
$custom-dark: #000000;
JSON
{
  "hex": "#843ac8",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 271.268,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.20909,
    "h": 303.7
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#843AC8
secondary
#AECE8F
accent
#E04891
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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