#842673#842673
#842673 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.155 H 336.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #842673 |
|---|---|
| RGB | rgb(132, 38, 115) |
| HSL | hsl(311, 55%, 33%) |
| HSV | hsv(311, 71%, 52%) |
| CMYK | cmyk(0%, 71.2%, 12.9%, 48.2%) |
| CIE-LAB | lab(32.99, 48.46, -23.17) |
| CIE-LCH | lch(32.99, 53.71, 334.44°) |
| OKLab | oklab(44.27% 0.1419 -0.0631) |
| OKLCH | oklch(44.27% 0.155 336) |
| XYZ | xyz(13.3035, 7.5307, 16.9693) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.48
Warm Purple
#952E8F
ΔE00 5.67
Purple
#800080
ΔE00 5.72
Darkmagenta
#8B008B
ΔE00 6.00
Bruise
#7E4071
ΔE00 6.02
Grape
#6C3461
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842673 #268437
analogous
#662684 #842673 #842644
triadic
#842673 #738426 #267384
tetradic
#842673 #846626 #268437 #264484
square
#842673 #846626 #268437 #264484
split-complementary
#842673 #448426 #268466
monochromatic
#250B20 #54184A #842673 #B4349C #CE56B9
Accessibility & contrast
On white
8.38
#842673 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#842673 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842673
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842673 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842673 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274575
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#8B2C49
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #842673; /* rgb */ color: rgb(132, 38, 115); /* oklch */ color: oklch(44.3% 0.155 336.0);
Tailwind
colors: {
custom: {
50: '#ab699b',
500: '#842673',
950: '#000000',
},
}SCSS
$custom: #842673; $custom-light: #ab699b; $custom-dark: #000000;
JSON
{
"hex": "#842673",
"rgb": {
"r": 132,
"g": 38,
"b": 115
},
"hsl": {
"h": 310.851,
"s": 55.294,
"l": 33.333
},
"oklch": {
"l": 0.44273,
"c": 0.15527,
"h": 336
},
"luminance": 0.0753
}Semantic roles & 50–950 ramp
primary
#842673
secondary
#53B364
accent
#DF6449
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E