#843AD2#843AD2

#843AD2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.219 H 301.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#843AD2
RGBrgb(132, 58, 210)
HSLhsl(269, 63%, 53%)
HSVhsv(269, 72%, 82%)
CMYKcmyk(37.1%, 72.4%, 0%, 17.6%)
CIE-LABlab(42.13, 59.47, -65.72)
CIE-LCHlch(42.13, 88.63, 312.14°)
OKLaboklab(52.77% 0.114 -0.1874)
OKLCHoklch(52.77% 0.219 301.3)
XYZxyz(22.6588, 12.5847, 62.1956)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AD2 #88D23A
analogous
#3A3CD2 #843AD2 #D03AD2
triadic
#843AD2 #D2843A #3AD284
tetradic
#843AD2 #D23A3C #88D23A #3AD2D0
square
#843AD2 #D23A3C #88D23A #3AD2D0
split-complementary
#843AD2 #D2D03A #3CD23A
monochromatic
#481B77 #6626A8 #843AD2 #A36CDD #C29EE9

Accessibility & contrast

On white

5.97
#843AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#843AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AD2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AD2#FFFFFF#000000##FFFFFF
##843AD21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#736083
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843ad2;
/* rgb */ color: rgb(132, 58, 210);
/* oklch */ color: oklch(52.8% 0.219 301.3);
Tailwind
colors: {
  custom: {
    50: '#ae77e1',
    500: '#843ad2',
    950: '#000000',
  },
}
SCSS
$custom: #843ad2;
$custom-light: #ae77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#843ad2",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 269.211,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.21941,
    "h": 301.3
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#843AD2
secondary
#B5D593
accent
#E64296
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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