#843ECF#843ECF

#843ECF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.212 H 301.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#843ECF
RGBrgb(132, 62, 207)
HSLhsl(269, 60%, 53%)
HSVhsv(269, 70%, 81%)
CMYKcmyk(36.2%, 70%, 0%, 18.8%)
CIE-LABlab(42.55, 56.95, -63.32)
CIE-LCHlch(42.55, 85.16, 311.97°)
OKLaboklab(53% 0.1107 -0.1804)
OKLCHoklch(53% 0.212 301.5)
XYZxyz(22.4981, 12.8557, 60.3155)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843ECF #89CF3E
analogous
#3E40CF #843ECF #CD3ECF
triadic
#843ECF #CF843E #3ECF84
tetradic
#843ECF #CF3E40 #89CF3E #3ECFCD
square
#843ECF #CF3E40 #89CF3E #3ECFCD
split-complementary
#843ECF #CFCD3E #40CF3E
monochromatic
#481D75 #6629A6 #843ECF #A36FDB #C2A0E7

Accessibility & contrast

On white

5.88
#843ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#843ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843ECF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843ECF#FFFFFF#000000##FFFFFF
##843ECF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#746182
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #843ecf;
/* rgb */ color: rgb(132, 62, 207);
/* oklch */ color: oklch(53.0% 0.212 301.5);
Tailwind
colors: {
  custom: {
    50: '#ae79df',
    500: '#843ecf',
    950: '#000000',
  },
}
SCSS
$custom: #843ecf;
$custom-light: #ae79df;
$custom-dark: #000000;
JSON
{
  "hex": "#843ecf",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 268.966,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.21168,
    "h": 301.5
  },
  "luminance": 0.12856
}

Semantic roles & 50–950 ramp

primary
#843ECF
secondary
#B5D495
accent
#E34497
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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