#843FD2#843FD2

#843FD2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.214 H 300.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#843FD2
RGBrgb(132, 63, 210)
HSLhsl(268, 62%, 54%)
HSVhsv(268, 70%, 82%)
CMYKcmyk(37.1%, 70%, 0%, 17.6%)
CIE-LABlab(42.93, 57.21, -64.41)
CIE-LCHlch(42.93, 86.15, 311.61°)
OKLaboklab(53.34% 0.1092 -0.1836)
OKLCHoklch(53.34% 0.214 300.7)
XYZxyz(22.9232, 13.1135, 62.2837)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FD2 #8DD23F
analogous
#3F43D2 #843FD2 #CD3FD2
triadic
#843FD2 #D2843F #3FD284
tetradic
#843FD2 #D23F43 #8DD23F #3FD2CD
square
#843FD2 #D23F43 #8DD23F #3FD2CD
split-complementary
#843FD2 #D2CD3F #43D23F
monochromatic
#481D7A #6628AC #843FD2 #A471DE #C4A2E9

Accessibility & contrast

On white

5.80
#843FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#843FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FD2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FD2#FFFFFF#000000##FFFFFF
##843FD21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#736284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #843fd2;
/* rgb */ color: rgb(132, 63, 210);
/* oklch */ color: oklch(53.3% 0.214 300.7);
Tailwind
colors: {
  custom: {
    50: '#ae79e1',
    500: '#843fd2',
    950: '#000000',
  },
}
SCSS
$custom: #843fd2;
$custom-light: #ae79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#843fd2",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 268.163,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.21368,
    "h": 300.7
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#843FD2
secondary
#B8D697
accent
#E54399
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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