#B366A4#B366A4
#B366A4 is a mid, vivid pink. Relative luminance 0.218; OKLCH L 61.8% C 0.127 H 334.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B366A4 |
|---|---|
| RGB | rgb(179, 102, 164) |
| HSL | hsl(312, 34%, 55%) |
| HSV | hsv(312, 43%, 70%) |
| CMYK | cmyk(0%, 43%, 8.4%, 29.8%) |
| CIE-LAB | lab(53.78, 39.82, -20.17) |
| CIE-LCH | lch(53.78, 44.63, 333.13°) |
| OKLab | oklab(61.76% 0.1145 -0.0544) |
| OKLCH | oklch(61.76% 0.127 334.6) |
| XYZ | xyz(30.0425, 21.7685, 37.7341) |
| Luminance | 0.2177 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.18
Dark Lilac
#9C6DA5
ΔE00 5.62
Soft Purple
#A66FB5
ΔE00 5.75
Pale Magenta
#D767AD
ΔE00 6.99
Orchid (survey)
#C875C4
ΔE00 7.17
Pinky Purple
#C94CBE
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366A4 #66B375
analogous
#9B66B3 #B366A4 #B3667E
triadic
#B366A4 #A4B366 #66A4B3
tetradic
#B366A4 #B39B66 #66B375 #667EB3
square
#B366A4 #B39B66 #66B375 #667EB3
split-complementary
#B366A4 #7EB366 #66B39B
monochromatic
#6A3560 #934984 #B366A4 #C78FBC #DCB8D5
Accessibility & contrast
On white
3.92
#B366A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#B366A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366A4
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366A4 | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667AA6
Deuteranopia (green-blind)
#7A85A2
Tritanopia (blue-blind)
#BA6A7D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #b366a4; /* rgb */ color: rgb(179, 102, 164); /* oklch */ color: oklch(61.8% 0.127 334.6);
Tailwind
colors: {
custom: {
50: '#cb94bf',
500: '#b366a4',
950: '#000000',
},
}SCSS
$custom: #b366a4; $custom-light: #cb94bf; $custom-dark: #000000;
JSON
{
"hex": "#b366a4",
"rgb": {
"r": 179,
"g": 102,
"b": 164
},
"hsl": {
"h": 311.688,
"s": 33.624,
"l": 55.098
},
"oklch": {
"l": 0.61759,
"c": 0.12677,
"h": 334.6
},
"luminance": 0.21767
}Semantic roles & 50–950 ramp
primary
#B366A4
secondary
#AACBB1
accent
#CA735E
background
#FCF9FB
surface
#F9F1F7
border
#D2CBD0
text
#130D12
muted
#827E81