#843FDA#843FDA

#843FDA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.222 H 299.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#843FDA
RGBrgb(132, 63, 218)
HSLhsl(267, 68%, 55%)
HSVhsv(267, 71%, 85%)
CMYKcmyk(39.4%, 71.1%, 0%, 14.5%)
CIE-LABlab(43.54, 59.15, -68.02)
CIE-LCHlch(43.54, 90.14, 311.01°)
OKLaboklab(53.96% 0.1078 -0.1942)
OKLCHoklch(53.96% 0.222 299)
XYZxyz(23.9449, 13.5222, 67.6646)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FDA #95DA3F
analogous
#3F47DA #843FDA #D23FDA
triadic
#843FDA #DA843F #3FDA84
tetradic
#843FDA #DA3F47 #95DA3F #3FDAD2
square
#843FDA #DA3F47 #95DA3F #3FDAD2
split-complementary
#843FDA #DAD23F #47DA3F
monochromatic
#491A85 #6624B8 #843FDA #A572E4 #C6A6EE

Accessibility & contrast

On white

5.67
#843FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#843FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FDA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FDA#FFFFFF#000000##FFFFFF
##843FDA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#706689
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #843fda;
/* rgb */ color: rgb(132, 63, 218);
/* oklch */ color: oklch(54.0% 0.222 299.0);
Tailwind
colors: {
  custom: {
    50: '#af7ae6',
    500: '#843fda',
    950: '#000000',
  },
}
SCSS
$custom: #843fda;
$custom-light: #af7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#843fda",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 266.71,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.22214,
    "h": 299
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#843FDA
secondary
#BEDB9A
accent
#EB3D9D
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #843FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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