#843CD5#843CD5

#843CD5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.220 H 300.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#843CD5
RGBrgb(132, 60, 213)
HSLhsl(268, 65%, 54%)
HSVhsv(268, 72%, 84%)
CMYKcmyk(38%, 71.8%, 0%, 16.5%)
CIE-LABlab(42.67, 59.30, -66.56)
CIE-LCHlch(42.67, 89.14, 311.70°)
OKLaboklab(53.23% 0.1116 -0.1899)
OKLCHoklch(53.23% 0.22 300.4)
XYZxyz(23.1389, 12.9411, 64.2167)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CD5 #8DD53C
analogous
#3C40D5 #843CD5 #D03CD5
triadic
#843CD5 #D5843C #3CD584
tetradic
#843CD5 #D53C40 #8DD53C #3CD5D0
square
#843CD5 #D53C40 #8DD53C #3CD5D0
split-complementary
#843CD5 #D5D03C #40D53C
monochromatic
#481B7C #6626AE #843CD5 #A46EE0 #C4A1EB

Accessibility & contrast

On white

5.85
#843CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#843CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CD5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CD5#FFFFFF#000000##FFFFFF
##843CD51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#726285
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #843cd5;
/* rgb */ color: rgb(132, 60, 213);
/* oklch */ color: oklch(53.2% 0.220 300.4);
Tailwind
colors: {
  custom: {
    50: '#ae78e3',
    500: '#843cd5',
    950: '#000000',
  },
}
SCSS
$custom: #843cd5;
$custom-light: #ae78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#843cd5",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 268.235,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53229,
    "c": 0.22028,
    "h": 300.4
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#843CD5
secondary
#B8D796
accent
#E84099
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #843CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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