#B843AA#B843AA
#B843AA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.191 H 332.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B843AA |
|---|---|
| RGB | rgb(184, 67, 170) |
| HSL | hsl(307, 47%, 49%) |
| HSV | hsv(307, 64%, 72%) |
| CMYK | cmyk(0%, 63.6%, 7.6%, 27.8%) |
| CIE-LAB | lab(48.40, 59.15, -31.97) |
| CIE-LCH | lch(48.40, 67.23, 331.61°) |
| OKLab | oklab(58.01% 0.1701 -0.0875) |
| OKLCH | oklch(58.01% 0.191 332.8) |
| XYZ | xyz(29.0301, 17.1092, 39.7958) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.33
Ugly Purple
#A442A0
ΔE00 4.13
Pinky Purple
#C94CBE
ΔE00 5.08
Medium Purple
#9E43A2
ΔE00 5.25
Barney
#AC1DB8
ΔE00 7.59
Purply
#983FB2
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B843AA #43B851
analogous
#8C43B8 #B843AA #B84370
triadic
#B843AA #AAB843 #43AAB8
tetradic
#B843AA #B88C43 #43B851 #4370B8
square
#B843AA #B88C43 #43B851 #4370B8
split-complementary
#B843AA #70B843 #43B88C
monochromatic
#5E2257 #8B3381 #B843AA #CA6EBF #DB9BD3
Accessibility & contrast
On white
4.75
#B843AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#B843AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B843AA
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B843AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B843AA | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#6679A7
Tritanopia (blue-blind)
#C04D70
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b843aa; /* rgb */ color: rgb(184, 67, 170); /* oklch */ color: oklch(58.0% 0.191 332.8);
Tailwind
colors: {
custom: {
50: '#d07fc3',
500: '#b843aa',
950: '#000000',
},
}SCSS
$custom: #b843aa; $custom-light: #d07fc3; $custom-dark: #000000;
JSON
{
"hex": "#b843aa",
"rgb": {
"r": 184,
"g": 67,
"b": 170
},
"hsl": {
"h": 307.179,
"s": 46.614,
"l": 49.216
},
"oklch": {
"l": 0.58006,
"c": 0.19124,
"h": 332.8
},
"luminance": 0.17107
}Semantic roles & 50–950 ramp
primary
#B843AA
secondary
#90C797
accent
#D66152
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81