#843ED5#843ED5

#843ED5 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.218 H 300.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#843ED5
RGBrgb(132, 62, 213)
HSLhsl(268, 64%, 54%)
HSVhsv(268, 71%, 84%)
CMYKcmyk(38%, 70.9%, 0%, 16.5%)
CIE-LABlab(43.00, 58.39, -66.04)
CIE-LCHlch(43.00, 88.15, 311.48°)
OKLaboklab(53.46% 0.1097 -0.1884)
OKLCHoklch(53.46% 0.218 300.2)
XYZxyz(23.2456, 13.1547, 64.2523)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843ED5 #8FD53E
analogous
#3E44D5 #843ED5 #D03ED5
triadic
#843ED5 #D5843E #3ED584
tetradic
#843ED5 #D53E44 #8FD53E #3ED5D0
square
#843ED5 #D53E44 #8FD53E #3ED5D0
split-complementary
#843ED5 #D5D03E #44D53E
monochromatic
#491B7D #6626B0 #843ED5 #A470E0 #C4A3EB

Accessibility & contrast

On white

5.78
#843ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#843ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843ED5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843ED5#FFFFFF#000000##FFFFFF
##843ED51.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843ed5;
/* rgb */ color: rgb(132, 62, 213);
/* oklch */ color: oklch(53.5% 0.218 300.2);
Tailwind
colors: {
  custom: {
    50: '#ae79e3',
    500: '#843ed5',
    950: '#000000',
  },
}
SCSS
$custom: #843ed5;
$custom-light: #ae79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#843ed5",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 267.815,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.21801,
    "h": 300.2
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#843ED5
secondary
#BAD897
accent
#E7419A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #843ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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