#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 |
|---|---|
| RGB | rgb(132, 62, 207) |
| HSL | hsl(269, 60%, 53%) |
| HSV | hsv(269, 70%, 81%) |
| CMYK | cmyk(36.2%, 70%, 0%, 18.8%) |
| CIE-LAB | lab(42.55, 56.95, -63.32) |
| CIE-LCH | lch(42.55, 85.16, 311.97°) |
| OKLab | oklab(53% 0.1107 -0.1804) |
| OKLCH | oklch(53% 0.212 301.5) |
| XYZ | xyz(22.4981, 12.8557, 60.3155) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.32
Darkorchid
#9932CC
ΔE00 3.96
Bluish Purple
#703BE7
ΔE00 4.68
Violet (survey)
#9A0EEA
ΔE00 5.45
Burple
#6832E3
ΔE00 5.73
Darkviolet
#9400D3
ΔE00 5.78
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 |
|---|---|---|---|---|
| ##843ECF | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.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