#843FD8#843FD8

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

Color values

HEX#843FD8
RGBrgb(132, 63, 216)
HSLhsl(267, 66%, 55%)
HSVhsv(267, 71%, 85%)
CMYKcmyk(38.9%, 70.8%, 0%, 15.3%)
CIE-LABlab(43.39, 58.66, -67.12)
CIE-LCHlch(43.39, 89.14, 311.15°)
OKLaboklab(53.81% 0.1082 -0.1916)
OKLCHoklch(53.81% 0.22 299.5)
XYZxyz(23.6848, 13.4181, 66.2946)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FD8 #93D83F
analogous
#3F46D8 #843FD8 #D13FD8
triadic
#843FD8 #D8843F #3FD884
tetradic
#843FD8 #D83F46 #93D83F #3FD8D1
square
#843FD8 #D83F46 #93D83F #3FD8D1
split-complementary
#843FD8 #D8D13F #46D83F
monochromatic
#491A82 #6625B5 #843FD8 #A572E2 #C5A5ED

Accessibility & contrast

On white

5.70
#843FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#843FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FD8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FD8#FFFFFF#000000##FFFFFF
##843FD81.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#706587
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #843fd8;
/* rgb */ color: rgb(132, 63, 216);
/* oklch */ color: oklch(53.8% 0.220 299.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ae5',
    500: '#843fd8',
    950: '#000000',
  },
}
SCSS
$custom: #843fd8;
$custom-light: #ae7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#843fd8",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 267.059,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.22004,
    "h": 299.5
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#843FD8
secondary
#BDDA99
accent
#E93F9C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #843FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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