#843DD2#843DD2

#843DD2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.216 H 301.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#843DD2
RGBrgb(132, 61, 210)
HSLhsl(269, 62%, 53%)
HSVhsv(269, 71%, 82%)
CMYKcmyk(37.1%, 71%, 0%, 17.6%)
CIE-LABlab(42.61, 58.13, -64.95)
CIE-LCHlch(42.61, 87.16, 311.83°)
OKLaboklab(53.11% 0.1112 -0.1852)
OKLCHoklch(53.11% 0.216 301)
XYZxyz(22.8145, 12.8960, 62.2475)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DD2 #8BD23D
analogous
#3D40D2 #843DD2 #CF3DD2
triadic
#843DD2 #D2843D #3DD284
tetradic
#843DD2 #D23D40 #8BD23D #3DD2CF
square
#843DD2 #D23D40 #8BD23D #3DD2CF
split-complementary
#843DD2 #D2CF3D #40D23D
monochromatic
#481C79 #6628AA #843DD2 #A36FDE #C3A0E9

Accessibility & contrast

On white

5.87
#843DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#843DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DD2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DD2#FFFFFF#000000##FFFFFF
##843DD21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#736184
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #843dd2;
/* rgb */ color: rgb(132, 61, 210);
/* oklch */ color: oklch(53.1% 0.216 301.0);
Tailwind
colors: {
  custom: {
    50: '#ae78e1',
    500: '#843dd2',
    950: '#000000',
  },
}
SCSS
$custom: #843dd2;
$custom-light: #ae78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#843dd2",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 268.591,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53109,
    "c": 0.21601,
    "h": 301
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#843DD2
secondary
#B7D695
accent
#E54298
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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