#B843CC#B843CC
#B843CC is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.219 H 321.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B843CC |
|---|---|
| RGB | rgb(184, 67, 204) |
| HSL | hsl(291, 57%, 53%) |
| HSV | hsv(291, 67%, 80%) |
| CMYK | cmyk(9.8%, 67.2%, 0%, 20%) |
| CIE-LAB | lab(50.18, 65.01, -48.94) |
| CIE-LCH | lch(50.18, 81.37, 323.03°) |
| OKLab | oklab(59.87% 0.1717 -0.1366) |
| OKLCH | oklch(59.87% 0.219 321.5) |
| XYZ | xyz(32.6722, 18.5660, 58.9777) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.80
Purpley Pink
#C83CB9
ΔE00 4.94
Purple Pink
#D725DE
ΔE00 5.03
Pinky Purple
#C94CBE
ΔE00 5.57
Hot Purple
#CB00F5
ΔE00 6.17
Pinkish Purple
#D648D7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B843CC #57CC43
analogous
#7343CC #B843CC #CC439B
triadic
#B843CC #CCB843 #43CCB8
tetradic
#B843CC #CC7343 #57CC43 #439BCC
square
#B843CC #CC7343 #57CC43 #439BCC
split-complementary
#B843CC #9BCC43 #43CC73
monochromatic
#682075 #932DA5 #B843CC #CA73D9 #DCA3E6
Accessibility & contrast
On white
4.46
#B843CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#B843CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B843CC
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B843CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B843CC | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#BA5B82
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #b843cc; /* rgb */ color: rgb(184, 67, 204); /* oklch */ color: oklch(59.9% 0.219 321.5);
Tailwind
colors: {
custom: {
50: '#d180dc',
500: '#b843cc',
950: '#000000',
},
}SCSS
$custom: #b843cc; $custom-light: #d180dc; $custom-dark: #000000;
JSON
{
"hex": "#b843cc",
"rgb": {
"r": 184,
"g": 67,
"b": 204
},
"hsl": {
"h": 291.241,
"s": 57.322,
"l": 53.137
},
"oklch": {
"l": 0.59868,
"c": 0.21938,
"h": 321.5
},
"luminance": 0.18564
}Semantic roles & 50–950 ramp
primary
#B843CC
secondary
#A0D398
accent
#E1475E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83