#843ED9#843ED9

#843ED9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.222 H 299.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#843ED9
RGBrgb(132, 62, 217)
HSLhsl(267, 67%, 55%)
HSVhsv(267, 71%, 85%)
CMYKcmyk(39.2%, 71.4%, 0%, 14.9%)
CIE-LABlab(43.30, 59.36, -67.83)
CIE-LCHlch(43.30, 90.14, 311.19°)
OKLaboklab(53.77% 0.1089 -0.1937)
OKLCHoklch(53.77% 0.222 299.4)
XYZxyz(23.7596, 13.3603, 66.9592)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843ED9 #93D93E
analogous
#3E45D9 #843ED9 #D23ED9
triadic
#843ED9 #D9843E #3ED984
tetradic
#843ED9 #D93E45 #93D93E #3ED9D2
square
#843ED9 #D93E45 #93D93E #3ED9D2
split-complementary
#843ED9 #D9D23E #45D93E
monochromatic
#491A83 #6624B6 #843ED9 #A571E3 #C5A4ED

Accessibility & contrast

On white

5.72
#843ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#843ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843ED9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843ED9#FFFFFF#000000##FFFFFF
##843ED91.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#706588
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #843ed9;
/* rgb */ color: rgb(132, 62, 217);
/* oklch */ color: oklch(53.8% 0.222 299.4);
Tailwind
colors: {
  custom: {
    50: '#ae79e6',
    500: '#843ed9',
    950: '#000000',
  },
}
SCSS
$custom: #843ed9;
$custom-light: #ae79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#843ed9",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 267.097,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.22222,
    "h": 299.4
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#843ED9
secondary
#BDDA99
accent
#EA3E9C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #843ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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