#843FD9#843FD9

#843FD9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.221 H 299.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#843FD9
RGBrgb(132, 63, 217)
HSLhsl(267, 67%, 55%)
HSVhsv(267, 71%, 85%)
CMYKcmyk(39.2%, 71%, 0%, 14.9%)
CIE-LABlab(43.46, 58.91, -67.57)
CIE-LCHlch(43.46, 89.64, 311.08°)
OKLaboklab(53.88% 0.108 -0.1929)
OKLCHoklch(53.88% 0.221 299.2)
XYZxyz(23.8145, 13.4700, 66.9775)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FD9 #94D93F
analogous
#3F47D9 #843FD9 #D13FD9
triadic
#843FD9 #D9843F #3FD984
tetradic
#843FD9 #D93F47 #94D93F #3FD9D1
square
#843FD9 #D93F47 #94D93F #3FD9D1
split-complementary
#843FD9 #D9D13F #47D93F
monochromatic
#491A84 #6624B7 #843FD9 #A572E3 #C5A5ED

Accessibility & contrast

On white

5.68
#843FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#843FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FD9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FD9#FFFFFF#000000##FFFFFF
##843FD91.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843fd9;
/* rgb */ color: rgb(132, 63, 217);
/* oklch */ color: oklch(53.9% 0.221 299.2);
Tailwind
colors: {
  custom: {
    50: '#ae7ae6',
    500: '#843fd9',
    950: '#000000',
  },
}
SCSS
$custom: #843fd9;
$custom-light: #ae7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#843fd9",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 266.883,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.22109,
    "h": 299.2
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#843FD9
secondary
#BDDA9A
accent
#EA3E9D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #843FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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