#843DD5#843DD5

#843DD5 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.219 H 300.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#843DD5
RGBrgb(132, 61, 213)
HSLhsl(268, 64%, 54%)
HSVhsv(268, 71%, 84%)
CMYKcmyk(38%, 71.4%, 0%, 16.5%)
CIE-LABlab(42.83, 58.85, -66.30)
CIE-LCHlch(42.83, 88.65, 311.59°)
OKLaboklab(53.34% 0.1106 -0.1892)
OKLCHoklch(53.34% 0.219 300.3)
XYZxyz(23.1917, 13.0469, 64.2343)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DD5 #8ED53D
analogous
#3D42D5 #843DD5 #D03DD5
triadic
#843DD5 #D5843D #3DD584
tetradic
#843DD5 #D53D42 #8ED53D #3DD5D0
square
#843DD5 #D53D42 #8ED53D #3DD5D0
split-complementary
#843DD5 #D5D03D #42D53D
monochromatic
#491B7D #6626AF #843DD5 #A46FE0 #C4A2EB

Accessibility & contrast

On white

5.82
#843DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#843DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DD5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DD5#FFFFFF#000000##FFFFFF
##843DD51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843dd5;
/* rgb */ color: rgb(132, 61, 213);
/* oklch */ color: oklch(53.3% 0.219 300.3);
Tailwind
colors: {
  custom: {
    50: '#ae78e3',
    500: '#843dd5',
    950: '#000000',
  },
}
SCSS
$custom: #843dd5;
$custom-light: #ae78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#843dd5",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 268.026,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.21916,
    "h": 300.3
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#843DD5
secondary
#B9D796
accent
#E74099
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #843DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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